swig/Source
Stefan Zager cd7fc2047b Factored some #ifdef noise out of the initialization function by adding
SwigPyBuiltin_SetMetaType.

For %import statements, move the runtime import out of SWIG_init and into the
.py file.  The reason for this is that the import must be executed within the
python execution frame of the module, which is true in the .py file, but *not*
true in the initialization function.  Had to re-order the .py file slightly
to put the 'import' statements at the top; that's necessary to make sure base
types from an imported module are initialized first.  If -builtin isn't used,
then the .py code is not re-ordered.

Added an explanation and workaround for the limitation that wrapped types are
not raise-able.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-01 19:35:30 +00:00
..
CParse Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
DOH Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
Include Change preprocessing error for tokens appearing after #else and #end to warning. Add some missing warning documentation and a couple of warning messages tidy up. 2011-02-17 21:54:13 +00:00
Modules Factored some #ifdef noise out of the initialization function by adding 2011-04-01 19:35:30 +00:00
Preprocessor Fix regression introduced in swig-2.0.2 where filenames with spaces were not found when used with %include and %import 2011-03-17 07:33:05 +00:00
Swig Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
Makefile.am Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
README update this README 2008-11-03 13:32:33 +00:00

SWIG Source directory

 Source/DOH          -  A core set of basic datatypes including
                        strings, lists, hashes, and files.  Used
                        extensively by the rest of SWIG.

 Source/Swig         -  Swig core. Type-system, utility functions.

 Source/Preprocessor -  SWIG C Preprocessor

 Source/CParse       -  SWIG C Parser (still messy)

 Source/Modules      -  Language modules.

 Source/Include      -  Include files.

Historic directories which may be in CVS, but have been removed:

 Source/Modules1.1   -  Old SWIG-1.1 modules. Empty.

 Source/LParse       -  Experimental parser.  Officially dead
                        as CParse is more capable.

 Source/SWIG1.1      -  Old SWIG1.1 core. Completely empty now.