$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: MikeEnsor_at_[hidden]
Date: 2001-11-09 14:40:45
Is there a way to get around this?  Can I create a function that will 
return a pointer to my "wrapped" object with out an instance first?  
how about smart_ptr_from_python....is there a "to_python" version of 
the smart pointer?  I've played with the wrapped_pointer, but it 
doesn't like the fact that I haven't made an instance of the class 
either.  Thank you very much for helping me out.
Mike
--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> 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_C...>
> To: <boost_at_y...>
> 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_y...>
> >
> > Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/
> >
> >