swig/Source
Olly Betts 17a294cec4 Replace remaining PHP errors with PHP exceptions
`SWIG_ErrorCode()`, `SWIG_ErrorMsg()`, `SWIG_FAIL()` and `goto thrown;`
are no longer supported (these are really all internal implementation
details and none are documented aside from brief mentions in CHANGES
for the first three).  I wasn't able to find any uses at least in FOSS
code via code search tools.

If you are using these:

Use `SWIG_PHP_Error(code,msg);` instead of `SWIG_ErrorCode(code);
SWIG_ErrorMsg(msg);` (which will throw a PHP exception in SWIG >= 4.1
and do the same as the individual calls in older SWIG).

`SWIG_FAIL();` and `goto thrown;` can typically be replaced with
`SWIG_fail;`.  This will probably also work with older SWIG, but
please test with your wrappers if this is important to you.

Fixes #2014
2021-05-26 09:39:43 +12: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 Replace remaining PHP errors with PHP exceptions 2021-05-26 09:39:43 +12: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.