Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bliker
· 8y ago · 0 comments
I've been using ctypes for the exact same purposes and it has been pretty painless. Why have you decided to use FFI?
Comments
[–]
danielvf
8y ago
As far as I can see, ctypes requires you to manually specify everything, rather than load it from the .h include file. This is even more work.
[–]
chatmasta
8y ago
Not to mention another source for error when testing the c code in python. Your test might fail because you forgot to update a header definition in the python, not because you introduced an error in the C code.