[C++-sig] Problem with extracting a C++ object from python
Matt
mjkeyes at sbcglobal.net
Fri Oct 28 20:15:55 CEST 2005
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