added SWIG_DIRECTORS define under python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8db3f9e8df
commit
3f5815cf03
1 changed files with 4 additions and 0 deletions
|
|
@ -438,6 +438,10 @@ public:
|
||||||
if (NoInclude)
|
if (NoInclude)
|
||||||
Printf(f_runtime,"#define SWIG_NOINCLUDE\n");
|
Printf(f_runtime,"#define SWIG_NOINCLUDE\n");
|
||||||
|
|
||||||
|
if (directorsEnabled()) {
|
||||||
|
Printf(f_runtime,"#define SWIG_DIRECTORS\n");
|
||||||
|
}
|
||||||
|
|
||||||
/* Set module name */
|
/* Set module name */
|
||||||
module = Copy(Getattr(n,"name"));
|
module = Copy(Getattr(n,"name"));
|
||||||
mainmodule = Getattr(n,"name");
|
mainmodule = Getattr(n,"name");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue