Mark Dickinson added the comment:
What happens if you replace the line:
CMPFUNC = CFUNCTYPE(c_double, POINTER(c_double), POINTER(c_double))
in your example code with
CMPFUNC = CFUNCTYPE(c_int, POINTER(c_double), POINTER(c_double))
?
----------
nosy: +mark.dickinson
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16934>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com