[C++-sig] Re: Injecting python code to a class
Nicodemus
nicodemus at esss.com.br
Mon Mar 29 16:10:37 CEST 2004
Hi Raoul,
Raoul Gough wrote:
>Actually, that was the idea I had originally, but I wasn't sure where
>to get the necessary function arguments from. PyRun_String needs the
>global and local dictionaries to operate with - is there any easy way
>to get these? It would be running within a def_visitor::visit
>function...
>
>
IIRC, you have to pass NULL as the dictionaries in PyRunString.
HTH,
Nicodemus.
More information about the Cplusplus-sig
mailing list