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:
William S Fulton 2004-09-27 19:53:33 +00:00
commit 5d9631bf20
2 changed files with 4 additions and 4 deletions

View file

@ -86,7 +86,7 @@ by SWIG when it is parsing the interface:
<blockquote><pre> <blockquote><pre>
SWIG Always defined when SWIG is processing a file 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 SWIGMAC Defined when running SWIG on the Macintosh
SWIGWIN Defined when running SWIG under Windows SWIGWIN Defined when running SWIG under Windows
SWIG_VERSION Hexadecimal number containing SWIG version, SWIG_VERSION Hexadecimal number containing SWIG version,

View file

@ -1028,12 +1028,12 @@ static void add_chunk(DOH *ns, DOH *chunk, int allow) {
/* /*
push/pop_imported(): helper functions for defining and undefining push/pop_imported(): helper functions for defining and undefining
SWIGIMPORT (when %importing a file). SWIGIMPORTED (when %importing a file).
*/ */
static void static void
push_imported() { push_imported() {
if (imported_depth == 0) { if (imported_depth == 0) {
Preprocessor_define("SWIGIMPORT 1", 0); Preprocessor_define("SWIGIMPORTED 1", 0);
} }
++imported_depth; ++imported_depth;
} }
@ -1042,7 +1042,7 @@ static void
pop_imported() { pop_imported() {
--imported_depth; --imported_depth;
if (imported_depth == 0) { if (imported_depth == 0) {
Preprocessor_undef("SWIGIMPORT"); Preprocessor_undef("SWIGIMPORTED");
} }
} }