|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-09 12:07:08
Mike,
It's not an issue of the class_builder<T> having been /run/, but having been
/instantiated/ before wrapping any function that requires conversion of T.
For example,
namespace boost { namespace python {
template class class_builder<bpl_test::Record>; // explicitly instantiate
}} // namespace boost::python
this is from libs/python/test/comprehensive.cpp
HTH,
Dave
----- Original Message -----
From: <MikeEnsor_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, November 09, 2001 11:21 AM
Subject: [boost] Re: Boost.Python question
> I am pretty sure that the class builder has not run by the time it
> gets to this code....I have a series of overridden functions such as
> functions that compensate for the "int and double" issue...I have them
> in an include file at the top of my module c++ file...What can I do to
> manualy convert this into a PyObject*? Is there anything I can do to
> get around this?
> thanks,
>
> Mike
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk