swig/Source
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paweł Tomulik 5562deec62 Fixed SF bug #1297 (Python imports)
This changeset resolves several issues related to python imports.
For example, it's possible now to import modules having same module
names, but belonging to different packages.

From the user's viewpoint, this patch gives a little bit more control on
import directives generated by swig. The user may choose to use relative
or absolute imports (docs are provided in separate PR).

Some details:
  - we (still) generate import directives in form 'import a.b.c' which
    corresponds to absolute imports in python3 and (the only available)
    ambiguous one in python2.
  - added -relativeimport option to use explicit relative import syntax
    (python3),

Tests are under Examples/python, these are in fact regression tests but
with the current swig testing framework it seems to be impossible to put
appropriate tests under test-suite.

Closes #7
2013-12-24 17:22:25 +00:00
..
CParse Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
DOH Fix comment typo 2013-07-02 13:22:35 +12:00
Include Deprecation of the 'nestedworkaround' feature 2013-12-13 08:11:17 +00:00
Modules Fixed SF bug #1297 (Python imports) 2013-12-24 17:22:25 +00:00
Preprocessor Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
Swig fixed %template within %extend, test added 2013-12-19 02:11:22 +04:00
Makefile.am Merge branch 'nested' - nested structs/classes support 2013-12-14 15:12:07 +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.