logo       

RE: Re: ÆC++-sigÅ instantiating python objects within C++: msg#00221

python.c++

Subject: RE: Re: ÆC++-sigÅ instantiating python objects within C++

Hei,
Tusen takk skal du ha. Skal se på det i kveld.
Nikolai Kirsebom


-----Original Message-----
From: thor.arne.johansen@xxxxxxx [mailto:thor.arne.johansen@xxxxxxx]
Sent: 26. mai 2003 10:47
To: c++-sig@xxxxxxxxxx
Subject: Re: Re: ÆC++-sigÅ instantiating python objects within C++



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.

--
Thor Arne Johansen
Dept. Manager R&D
Ibas AS


_______________________________________________
C++-sig mailing list
C++-sig@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/c++-sig


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise