swig/Lib/typemaps
William S Fulton ebce018542 Fix constant function pointer typemaps
The function pointer typemaps were not being used when the function
pointer is const, like ADD_BY_VALUE_C in the funcptr_cpp.i testcase:

  %constant int (* const ADD_BY_VALUE_C)(const int &, int) = addByValue;

Problem affecting Javascript and observable when running test-suite with -cppcast.
2018-11-13 07:35:44 +00:00
..
attribute.swg Spelling fix 2014-10-21 07:55:07 +01:00
carrays.swg Fix constructors in named typedef class declarations 2011-08-25 19:27:38 +00:00
cdata.swg SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
cmalloc.swg SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
cpointer.swg Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby 2011-12-21 22:01:27 +00:00
cstring.swg Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
cstrings.swg cstrings.swg: fix function names inside comments (#790) 2016-09-16 12:26:35 +12:00
cwstring.swg Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
enumint.swg Add rvalue reference typemaps 2013-01-24 20:27:29 +00:00
exception.swg Move some header file includes into fragments for UTL languages 2014-02-21 19:02:14 +00:00
factory.swg add note for namespace issues 2006-03-07 09:15:31 +00:00
fragments.swg Enhance SWIG_isfinite for older standards: C++03/C++98/C89 2018-05-04 20:02:13 +01:00
implicit.swg UTL STL container descriptor checks 2016-07-28 22:51:29 +01:00
inoutlist.swg Fix a few more typos in comments 2006-09-28 06:39:07 +00:00
misctypes.swg last performance improvements, and typemaps fixes 2005-11-24 09:20:24 +00:00
primtypes.swg Add support for ptrdiff_t and size_t == long long 2016-01-06 16:52:37 -05:00
ptrtypes.swg Correct special variables in 'directorargout' typemap. This change will break any 'directorargout' typemaps you may have written. Please change: to and to \n Also fix the named 'directorargout' DIRECTOROUT typemaps for these languages which didn't previously compile and add in , etc expansion.\n [C#, Go, Java, D] Add support for the 'directorargout' typemap.\n [Java] Add (char *STRING, size_t LENGTH) director typemaps. 2011-12-20 20:50:36 +00:00
README Fix a few more typos in comments 2006-09-28 06:39:07 +00:00
std_except.swg Fix missed files 2016-09-17 19:01:42 +02:00
std_string.swg Add <string> fragment 2014-02-15 23:30:14 +00:00
std_strings.swg Remove pointless special casing of zero-length strings, remnant of a series 2011-02-18 08:44:44 +00:00
std_wstring.swg Add <string> fragment 2014-02-15 23:30:14 +00:00
string.swg Add some missing SWIGINTERN usage 2017-01-17 20:08:46 +00:00
strings.swg Scilab typemap fixes for C89 2015-02-11 23:24:40 +00:00
swigmacros.swg Revert "Remove -cppcast and -nocppcast command line options" 2018-11-06 17:22:05 +00:00
swigobject.swg The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc. 2011-12-21 07:16:44 +00:00
swigtype.swg Fix constant function pointer typemaps 2018-11-13 07:35:44 +00:00
swigtypemaps.swg Fix a few typos in comments and docs 2013-12-12 11:45:30 +13:00
typemaps.swg SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
valtypes.swg The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc. 2011-12-21 07:16:44 +00:00
void.swg The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc. 2011-12-21 07:16:44 +00:00
wstring.swg Add some missing SWIGINTERN usage 2017-01-17 20:08:46 +00:00

Still in development, but if you are interested into looking around,
start with


     swigtypemaps.swg

which is the head file. Also read the docs for %fragments in 

     fragments.swg 

and follow the definitions in one of the supported languages:

     python, perl, ruby, tcl




/* -----------------------------------------------------------------------------
 *  Internal typemap specializations
 * ----------------------------------------------------------------------------- */


carrays.swg		Implement the carrays.i library
cdata.swg		Implement the cdata.i library
cmalloc.swg		Implement the cmalloc.i library
cpointer.swg		Implement the cpointer.i library
cstring.swg		Implement the cstring.i library typemaps for char *
cwstring.swg		Implement the cstring.i library typemaps for wchar_t *
exception.swg		Implement the exception.i library
implicit.swg		Allow the use of implicit C++ constructors

string.swg		Typemaps for char * string
wstring.swg		Typemaps for wchar_t * string
std_string.swg		Typemaps for std::string
std_wstring.swg		Typemaps for std::wstring
swigtype.swg		Typemaps for the SWIGTYPE type
void.swg		Typemaps for the 'void' type
enumint.swg		Typemaps for enums treated as 'int' 
swigobject.swg		Typemaps for the SWIG_Object as in PyObject, Tcl_Obj, etc.
misctypes.swg		Typemaps for miscellaneos types (size_t, ptrdiff_t, etc)
ptrtypes.swg		Typemaps for types with a 'ptr' behavior
valtypes.swg		Typemaps for 'by value' types
inoutlist.swg		IN/OUTPUT/INOUT typemaps, where the OUTPUT values are returned in a list
primtypes.swg		Common macros to manage primitive types (short,int,double,etc)

cstrings.swg		Common macros to implemented the cstring/cwstring libraries
std_strings.swg		Common macros to implemented the std::string/std::wstring typemaps
strings.swg		Common macros and typemaps for string and wstring (char *, wchar_t *)

swigmacros.swg		Basic macros 
fragments.swg		Macros for fragment manipulations


typemaps.swg		The old typemaps.i library, not needed anymore