swig/Source
William S Fulton 07884f10ee Python - remove duplicate proxy method definitions for global function wrappers.
Global functions previously generated two definitions, eg:

  def foo():
      return _example.foo()
  foo = _example.foo

The first definition is replaced by the second definition and so the second definition
is the one used when the method is actually called. Now just the first definition is
generated by default and if the -fastproxy command line option is used, just the second
definition is generated. The second definition is faster as it avoids the proxy Python
method as it calls the low-level C wrapper directly. Using both -fastproxy and -olddefs
command line options will restore the previously generated code as it will generate both
method definitions.

With this change, the wrappers for global C/C++ functions and C++ class methods now work
in the same way wrt to generating just a proxy method by default and control via
-fastproxy/-olddefs options.

Closes #639.
2019-01-01 12:12:56 +00:00
..
CParse Merge branch 'vadz-fix-dtor-nested-template' 2018-12-06 08:13:25 +00:00
DOH Remove use of 'register' in C source 2018-05-04 20:02:13 +01:00
Doxygen Visual C++ 64-bit warning fixes in doxygen sources 2018-12-06 06:56:08 +00:00
Include Doxygen warnings cleanup 2018-06-05 18:40:30 +01:00
Modules Python - remove duplicate proxy method definitions for global function wrappers. 2019-01-01 12:12:56 +00:00
Preprocessor Fix handling of // comments inside macro arguments 2018-03-07 14:49:08 +13:00
Swig Merge branch 'vadz-doxygen' 2018-06-07 08:13:10 +01:00
Makefile.am Merge branch 'vadz-doxygen' 2018-06-07 08:13:10 +01: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.