14 Mar 2015 14 Mar '15
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