add the dirvtable/nodirvtable options to enable/disable the new pseudo virtual table for directors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-10 08:10:42 +00:00
commit 49e6084d66
2 changed files with 43 additions and 18 deletions

View file

@ -19,12 +19,12 @@
/*
Use -DSWIG_DIRECTOR_NOVTABLE if you don't want to generate a 'virtual
Use -DSWIG_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_NOVTABLE
#ifndef SWIG_DIRECTOR_NO_VTABLE
#ifndef SWIG_DIRECTOR_VTABLE
#define SWIG_DIRECTOR_VTABLE
#endif
@ -33,10 +33,10 @@
/*
Use -DSWIG_DIRECTOR_NOUEH if you prefer to avoid the use of the
Use -DSWIG_DIRECTOR_NO_UEH if you prefer to avoid the use of the
Undefined Exception Handler provided by swift
*/
#ifndef SWIG_DIRECTOR_NOUEH
#ifndef SWIG_DIRECTOR_NO_UEH
#ifndef SWIG_DIRECTOR_UEH
#define SWIG_DIRECTOR_UEH
#endif