oops, SWIGIMPORT changed to SWIGIMPORTED
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f1285e8ec0
commit
8486304d6c
2 changed files with 4 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ by SWIG when it is parsing the interface:
|
|||
|
||||
<blockquote><pre>
|
||||
SWIG Always defined when SWIG is processing a file
|
||||
SWIGIMPORT Defined when SWIG is importing a file with <tt>%import</tt>
|
||||
SWIGIMPORTED Defined when SWIG is importing a file with <tt>%import</tt>
|
||||
SWIGMAC Defined when running SWIG on the Macintosh
|
||||
SWIGWIN Defined when running SWIG under Windows
|
||||
SWIG_VERSION Hexadecimal number containing SWIG version,
|
||||
|
|
|
|||
|
|
@ -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