SWIG and Callbacks
whisper at oz.net
Sat Jun 15 18:20:43 CEST 2002
No, that understanding is not wrong, but it will enable you to write python
callbacks. From reading the doc and looking at examples, writing
Boost/Python interfaces isn't all that arduous.
Seattle, WA USA
> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Michael 'Mickey' Lauer
> Sent: Saturday, June 15, 2002 7:32
> To: python-list at python.org
> Subject: Re: SWIG and Callbacks
> David Abrahams <david.abrahams at rcn.com> wrote:
> > > "Michael 'Mickey' Lauer"
> <mickey at tm.informatik.uni-frankfurt.de> wrote in
> > message news:3d0a8b6e at nntp.server.uni-frankfurt.de...
> >> I had a quick look at the other wrappers (SILOON, GRAD, CXX, etc.)
> >> but most look either outdated or not appropriate for this task.
> >> Do you know an (automatic) wrapper generator which has this feature?
> >> I know sip can do this for c++ libraries - can sip also be used
> >> to wrap plain c-libs without "handwriting" code?
> > On most platforms, Boost.Python would work for you. The
> determining issue is
> > whether or not the C++ compiler treats "C" and "C++" linkage function
> > pointers the same way. If the appended program will compile
> with your C++
> > compiler, you're probably OK:
> The attached program compiles fine here. However, regarding boost.python I
> thought this was more of a c++ library for handcrafting tightly integrated
> bindings rather than an automatic wrapper generator? Is this
> understanding wrong?
More information about the Python-list