SWIGIMPORT macro documented

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-09-27 19:39:40 +00:00
commit f1285e8ec0

View file

@ -66,7 +66,7 @@ SWIG interface file or a header file without actually generating any wrapper cod
Such information generally includes type declarations (e.g., <tt>typedef</tt>) as well as Such information generally includes type declarations (e.g., <tt>typedef</tt>) as well as
C++ classes that might be used as base-classes for class declarations in the interface. C++ classes that might be used as base-classes for class declarations in the interface.
The use of <tt>%import</tt> is also important when SWIG is used to generate The use of <tt>%import</tt> is also important when SWIG is used to generate
extensions as a collection of related modules. This is advanced topic and is described extensions as a collection of related modules. This is an advanced topic and is described
in a later chapter. in a later chapter.
<P> <P>
@ -86,6 +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>
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,