[C++-sig] Problem with extracting a C++ object from python

Matt mjkeyes at sbcglobal.net
Fri Oct 28 20:25:10 CEST 2005


Ack!  Your fix did work... I made a typo in implementing it.

Thanks so much for the help!  You guys are awesome for your dedication to 
such a great project.

"Matt" <mjkeyes at sbcglobal.net> wrote in message 
news:djtq52$3pc$1 at sea.gmane.org...
> Good catch!
>
> However, it's still giving me the same error...
>
> Here's my BOOST_INIT_MODULE stuff:
>
> BOOST_INIT_MODULE(MyModule)
> {
>    class_<Base,boost::noncopyable>("PyBase");
>
>    class_<Derived,bases<Base>,boost::noncopyable>("PyDerived");
> }
>
> Does that look right?
>
> "David Abrahams" <dave at boost-consulting.com> wrote in message 
> news:uzmottvvi.fsf at boost-consulting.com...
>> "Matt" <mjkeyes at sbcglobal.net> writes:
>>
>>> Ack, that didn't work.  I imagine I have to set a converter somehow, but 
>>> I
>>> can't find any tutorials on it.
>>>
>>> Can someone help?
>>
>>
>> When you wrapped Base, did you also specify it in Derived's list of
>> bases<...> ?
>> -- 
>> Dave Abrahams
>> Boost Consulting
>> www.boost-consulting.com 






More information about the Cplusplus-sig mailing list