swig/Source/Modules
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
..
allegrocl.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
allocate.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
browser.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00
cffi.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
chicken.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
clisp.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
contract.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00
csharp.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
d.cxx [D] Added -d2 switch to usage information. 2011-03-16 17:20:45 +00:00
directors.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00
emit.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
go.cxx Don't emit unused "fail" label. 2011-03-16 14:06:03 +00:00
guile.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
java.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
lang.cxx Any 'using' statements in the protected section of a class were previously ignored with dirprot mode, certainly with Java and C#. Also directors - a call to a method being defined in the base class, not overridden in a subcalss, but again overridden in a class derived from the first subclass was not being dispatched correcly to the most derived class - affecting non-scripting languages. Fix for C# is based on recent fix for D. 2011-02-01 07:02:50 +00:00
lua.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
main.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
modula3.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
module.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00
mzscheme.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
ocaml.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
octave.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
overload.cxx Fix partial overloading warning messages appearing 2011-03-11 22:36:59 +00:00
perl5.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
php.cxx [PHP] Fix handling of overloaded methods/functions where some 2011-03-14 12:33:56 +00:00
pike.cxx Better consistency in usage display 2011-03-09 21:42:38 +00:00
python.cxx Factored some #ifdef noise out of the initialization function by adding 2011-04-01 19:35:30 +00:00
r.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
README File move 2002-12-03 20:33:35 +00:00
ruby.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
s-exp.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00
swigmain.cxx Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
swigmod.h constify SwigType * in many places 2010-12-15 21:55:08 +00:00
tcl8.cxx Corrections to calls to SwigType_manglestr to use a genuine SwigType 2010-11-29 07:49:42 +00:00
typepass.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
uffi.cxx Remove redundant code highlighted by warnings in gcc-4.6 2011-03-14 07:22:08 +00:00
utils.cxx Expand the family of debug print functions for displaying DOH types. Provide gdb support for calling these. Document improved debugging experience. 2010-09-15 20:17:11 +00:00
xml.cxx SWIG license change - Source moves to GPLv3 2010-02-27 23:53:33 +00:00

06/25/2002

This directory contains all of the SWIG language modules.  Many of these
modules contain code that dates back to SWIG1.0.  The module API has changed
a lot in the development releases so this is fairly messy.  We're working on
cleaning it up, but you'll have to bear with us until it's done.

-- Dave