avoid name clashing obj->swig_obj and add PYTHON to python macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c1dad55c5c
commit
c2b306d72a
2 changed files with 29 additions and 23 deletions
|
|
@ -19,14 +19,14 @@
|
|||
|
||||
|
||||
/*
|
||||
Use -DSWIG_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual
|
||||
Use -DSWIG_PYTHON_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual
|
||||
table', and avoid multiple GetAttr calls to retreive the python
|
||||
methods.
|
||||
*/
|
||||
|
||||
#ifndef SWIG_DIRECTOR_NO_VTABLE
|
||||
#ifndef SWIG_DIRECTOR_VTABLE
|
||||
#define SWIG_DIRECTOR_VTABLE
|
||||
#ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
|
||||
#ifndef SWIG_PYTHON_DIRECTOR_VTABLE
|
||||
#define SWIG_PYTHON_DIRECTOR_VTABLE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue