[C++-sig] [Boost.Python] Wrapping C library functions

Roman Yakovenko roman.yakovenko at gmail.com
Mon Feb 15 23:33:02 CET 2010


On Mon, Feb 15, 2010 at 11:50 PM, TP <wingusr at gmail.com> wrote:
> Thank you for your response. ctypes was on my list of options to
> investigate. I wonder if you know if it will be able to handle
> parameters like PIX** ppix?

Definitely

> A generator would be nice, as the Leptonica Image Processing Library
> is quite large (although my initial plans are to do as few functions
> as possible, just to see what's involved in making this work).

There are few code generators for ctypes module. I can recommend my own one :-).

Take a look on example which exposes gmplib:
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/examples/gmplib_dev/

HTH

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/


More information about the Cplusplus-sig mailing list