[C++-sig] pyste question
Andrew Sutton
asutton at cs.kent.edu
Mon Aug 23 14:00:40 CEST 2004
On Monday 23 August 2004 02:54 am, Baptiste Lepilleur wrote:
> If I remember correctly, you need to add an 'Include' statement with a file
> that contains the function you are refering to in add_method().
>
> If it fails, you can still fallback in 'class_code' to inject your method
> definition (you can find some example of this at:
> http://cvs.sourceforge.net/viewcvs.py/ogre/ogreaddons/pyogre/src/pyogre/ ).
thanks for the response. unfortunately, i just realized that pyste doesn't
quite generate code that's entirely right me (i can't derive some of my
classes like that). guess it's back to straight boost.python.
thanks again,
andrew sutton
asutton at cs.kent.edu
More information about the Cplusplus-sig
mailing list