[C++-sig] Re: instantiating python objects within C++
David Abrahams
dave at boost-consulting.com
Mon May 26 18:35:57 CEST 2003
thor.arne.johansen at ibas.no writes:
> Stefan wrote:
> ...
>>I'd like to have my C++ object instantiated long
>>before the wrapper, i.e. I'd like to instantiate
>>the wrapper around an existing object for the
>>sole purpose of being able to manipulate it
>>from within a script that is temporarily loaded
>>and executed once, during the lifetime of the
>>application.
> ...
>
> I have the same need, and after getting som help on this list I came up
> with the following example:
>
> http://mail.python.org/pipermail/c++-sig/2002-December/002833.html
>
> I never got any feedback on this posting, so I don't know how 'good'
> the example is, but it seems to work allright.
Oh, I'm sorry you didn't get any feedback. Dirk, do you have
anything to say about this one?
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list