oops, SWIGIMPORT changed to SWIGIMPORTED
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a4c26ef742
commit
5d9631bf20
2 changed files with 4 additions and 4 deletions
|
|
@ -1028,12 +1028,12 @@ static void add_chunk(DOH *ns, DOH *chunk, int allow) {
|
|||
|
||||
/*
|
||||
push/pop_imported(): helper functions for defining and undefining
|
||||
SWIGIMPORT (when %importing a file).
|
||||
SWIGIMPORTED (when %importing a file).
|
||||
*/
|
||||
static void
|
||||
push_imported() {
|
||||
if (imported_depth == 0) {
|
||||
Preprocessor_define("SWIGIMPORT 1", 0);
|
||||
Preprocessor_define("SWIGIMPORTED 1", 0);
|
||||
}
|
||||
++imported_depth;
|
||||
}
|
||||
|
|
@ -1042,7 +1042,7 @@ static void
|
|||
pop_imported() {
|
||||
--imported_depth;
|
||||
if (imported_depth == 0) {
|
||||
Preprocessor_undef("SWIGIMPORT");
|
||||
Preprocessor_undef("SWIGIMPORTED");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue