Message94239
Thank you for setting me straight.
I see now that I misunderstood the scope of `CFUNCTYPE`, as I was using
it as a general wrapper when in fact it's only needed for callbacks.
Mistakenly, I inferred from reading section 16.15.2.4 of the ctypes
manual [1] that it would be necessary to create prototype wrappers for
calls into the foreign library as well. Obviously that is not the case,
since your described solution works fine.
[1] <http://www.python.org/doc/2.6.3/library/ctypes.html#function-
prototypes> |
|
Date |
User |
Action |
Args |
2009-10-19 14:50:24 | creachadair | set | recipients:
+ creachadair, theller, Trundle |
2009-10-19 14:50:24 | creachadair | set | messageid: <1255963824.27.0.327494202813.issue7160@psf.upfronthosting.co.za> |
2009-10-19 14:50:22 | creachadair | link | issue7160 messages |
2009-10-19 14:50:22 | creachadair | create | |
|