swig/Source
Repository files (latest commit first)
Filename Latest commit message Latest commit date
William S Fulton b380de031e Python -builtin %rename constructor refactor
The implementation for a renamed constructor for -builtin no longer
uses the same implementation for non-builtin mode which makes a call
into the compiled C module, eg _constructor_rename for a module called
constructor_rename. The output in the constructor_rename.py file is now:

  RenamedConstructor = new_RenamedConstructor

instead of

  def RenamedConstructor():
      val = _constructor_rename.new_RenamedConstructor()
      return val

when wrapping:

  struct Foo {
      %rename(RenamedConstructor) Foo();
      Foo() {}
  };

See the constructor_rename.i testcase.

This change has been made to make the wrapper more efficient and is a
step towards the next commit which will remove duplicating the symbols
in both the pure Python module and implementation C module
(constructor_rename and _constructor_rename respectively in this case).
2018-11-28 08:20:02 +00:00
..
CParse Fix handling of abstract base classes nested inside templates 2018-11-24 19:21:47 +01:00
DOH Remove use of 'register' in C source 2018-05-04 20:02:13 +01:00
Doxygen Correct JavaDoc from doxygen comments indentation 2018-06-17 00:16:57 +01:00
Include Doxygen warnings cleanup 2018-06-05 18:40:30 +01:00
Modules Python -builtin %rename constructor refactor 2018-11-28 08:20:02 +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.