Suppose I am attempting to use a C (not C++) library that has an .h file with things like this:
extern PIX * pixCreate ( l_int32 width, l_int32 height, l_int32 depth ); extern void pixDestroy ( PIX **ppix ); extern PIX * pixClone ( PIX *pixs ); extern PIX * pixCopy ( PIX *pixd, PIX *pixs ); Is it possible to use Boost.Python to wrap such functions? In particular, note that pixDestroy() is going to want the address of the pointer returned by pixCreate(). (This is from the leptprotos.h file of the Leptonica Image Processing library at leptonica.com)
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig