Move -DSWIG_DIRECTOR_STATIC handling there, so this is now supported for all languages with director support, not just Python and PHP.
15 lines
512 B
Text
15 lines
512 B
Text
/* -----------------------------------------------------------------------------
|
|
* director_common.swg
|
|
*
|
|
* This file contains support for director classes which is common between
|
|
* languages.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/*
|
|
Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
|
|
'Swig' namespace. This could be useful for multi-modules projects.
|
|
*/
|
|
#ifdef SWIG_DIRECTOR_STATIC
|
|
/* Force anonymous (static) namespace */
|
|
#define Swig
|
|
#endif
|