On 21 Nov 2011 at 9:08, 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. >
Integrating this properly - or rather an enhanced version of it - was one of the ideas mooted for the next version of Boost.Python some months ago. Some clever metaprogramming can even allow python to work with arbitrary function pointers for callbacks :) However I don't think it's on the cards for what Jim is currently planning. Niall -- Technology & Consulting Services - ned Productions Limited. http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 472909. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig