Re: [Python-Dev] (ctypes example) libffi embedded in CPython

2015年3月14日 04:37:07 -0700

Hi
> 
> It might be a matter of taste, but I don't find declaring C functions
> any more awkward than using strange interface that ctypes comes with.
> the equivalent in cffi would be ffi.cast("double (*)()", x)
- Could you please elaborate on "using strange interface"?
- Is there an easy way to convert the current code using ctypes to
cffi?
Thanks in advance!
francis
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to