swig/Source
William S Fulton 2072ae19c9 Python function annotations removed from -py3 option.
Python function annotations containing C/C++ types are no longer
generated when using the -py3 option. Function annotations support
has been moved to a feature to provide finer grained control.
It can be turned on globally by adding:

  %feature("python:annotations", "c");

or by using the command line argument:

  -features python:annotations=c

The implementation is designed to be expandable to support different
annotations implementations. Future implementations could implement
something like the following for generating pure Python types:

  %feature("python:annotations", "python");

or typing module types to conform to PEP-484:

  %feature("python:annotations", "typing");

Closes #1561
Issue #735
2022-02-27 10:47:50 +00:00
..
CParse Mark error messages more consistent 2022-02-25 10:07:17 +13:00
DOH Make DOH Char macro more robust 2021-12-13 09:33:26 +13:00
Doxygen Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
Include Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
Modules Python function annotations removed from -py3 option. 2022-02-27 10:47:50 +00:00
Preprocessor Emit preprocessor expr error for unary + on string 2022-02-24 09:50:22 +13:00
Swig Merge branch 'using-declarations' into upstream-master 2022-02-20 17:04:56 +00: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.