It would be really nice to be able to ask ctypesgen to not recursively define
certain kinds of pointers and simply treat them as opaque (void *). For
example, I keep Berkeley DB "DB *" pointers around. The python bindings
shouldn't need to care that it's a DB pointer as I'm never going to dereference
it, and the fact that it _does_ care means it tries to write wrappers for the
DB struct, which basically means it tries to write wrappers for all of Berkeley
DB. I don't want or need that, and it explodes the size (and complexity) of
the generated file.
(Thanks for all your work though...great tool!)
Original issue reported on code.google.com by halcyo...@gmail.com on 5 Aug 2011 at 6:27
Original issue reported on code.google.com by
halcyo...@gmail.com
on 5 Aug 2011 at 6:27