On 11/21/2011 09:08 AM, Jay Riley wrote:
> I was wondering if it's possible to hook python functions as slots
> into boost::signal or boost::signal2 signals? I found an old thread
> that said it wasn't directly possible, but it was from 2004.
Given that it's possible to wrap Python functions in ordinary C++
functions / function objects, I don't see why it shouldn't be possible
to use Python functions wherever you'd be able to use C++ functions.
Just be careful with proper Python runtime initialization and thread safety.
Stefan
--
...ich hab' noch einen Koffer in Berlin...
_______________________________________________
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig