[C++-sig] Boost python and boost signal

Stefan Seefeld stefan at seefeld.name
Mon Nov 21 19:16:04 CET 2011


On 11/21/2011 01:06 PM, Niall Douglas wrote:
> 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.

Out of curiosity: what are the issues preventing this from "Just Work" ?

    Stefan


-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list