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

Kirsebom Nikolai nikolai.kirsebom at siemens.no
Mon May 26 11:41:31 CEST 2003


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


-----Original Message-----
From: thor.arne.johansen at ibas.no [mailto:thor.arne.johansen at ibas.no]
Sent: 26. mai 2003 10:47
To: c++-sig at python.org
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 at python.org
http://mail.python.org/mailman/listinfo/c++-sig




More information about the Cplusplus-sig mailing list