swig/Source
John Senneker ebe14e6e2a Fixed crashes when using embedded Python interpreters.
Fixes #2101. There are 3 related changes made here:
1. Move the SWIG_globals() singleton into pyrun from pyint so it
   is visible to SWIG_Python_DestroyModule(). The static globals
   varlink has been extracted out of the function so that it can
   be set to NULL in SWIG_Python_DestroyModule(), which fixes the
   issue described in #2101. (Now when the second interpreter
   starts up, the Swig_Globals_global pointer will be NULL, so it
   knows it has to create a new one.)
2. Remove a Py_DECREF on the globals varlink. The decrement is now
   performed by DestroyModule(), so there's no need to do it in
   SWIG_init().
3. Fixed similar issue with SWIG_Python_TypeCache().
2021-11-30 16:13:17 -05:00
..
CParse Fix -Wchar-subscripts warning 2021-04-26 22:32:52 +01:00
DOH Fix few unused variable warnings 2021-03-07 11:20:31 +00:00
Doxygen Don't use invalid iterators in Doxygen command parsing code 2021-02-22 21:15:03 +01:00
Include [Modula3] Remove code for Modula3 2021-05-16 08:42:39 +12:00
Modules Fixed crashes when using embedded Python interpreters. 2021-11-30 16:13:17 -05:00
Preprocessor Fix -Wchar-subscripts warning 2021-04-26 22:32:52 +01:00
Swig Fix comment typo 2021-05-05 16:01:51 +12:00
Makefile.am Disable CFFI Common Lisp target language 2019-02-05 18:42:23 +00:00
README Remove details of long-removed directories 2021-05-16 08:42:39 +12: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.