swig/Lib/typemaps
Olly Betts 1df04c13f2 Update comment
These typemaps were removed by 6b69a05b41
but I missed this reference to them in a comment further up.
2025-06-08 09:58:50 +12:00
..
README Cleanup SWIG_VERSION definition 2022-10-13 19:47:43 +01:00
attribute.swg Remove long-deprecated %attribute_ref 2023-12-03 09:50:33 +13:00
carrays.swg carrays.i library modified to use size_t instead of int 2023-10-11 08:23:16 +01:00
cdata_begin.swg cdata whitespace/cosmetic fixups 2024-06-13 10:48:15 +01:00
cdata_end.swg cdata doc updates 2024-06-07 08:27:15 +01: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 Fix function prototypes of generated pointer functions 2022-02-03 17:25:44 +13: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 Fix cstrings.swg cstring_output_allocate example freeing 2024-09-17 08:46: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 Fix random doubled spaces in code 2023-11-17 09:49:36 +13:00
exception.swg Add Python support for std::unique_ptr inputs 2022-07-17 15:20:20 +01:00
factory.swg add note for namespace issues 2006-03-07 09:15:31 +00:00
fragments.swg Py_INCREF -> Py_IncRef for stable ABI compliance 2024-03-24 18:12:21 +00:00
implicit.swg Fix typo: "temporal" which should be "temporary" 2023-04-27 10:35:22 +12:00
inoutlist.swg INPUT typemaps implementation simplification 2024-10-01 00:07:30 +01:00
misctypes.swg last performance improvements, and typemaps fixes 2005-11-24 09:20:24 +00:00
primtypes.swg Update comment 2025-06-08 09:58:50 +12:00
ptrtypes.swg Fix for STL containers static member and global variables 2024-02-18 14:21:17 +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_string_view.swg [Ruby] Add string_view support 2023-05-18 17:52:38 +12:00
std_strings.swg Fix seg fault passing invalid unicode values to std::string 2024-10-20 14:19:24 +01:00
std_wstring.swg Add <string> fragment 2014-02-15 23:30:14 +00:00
string.swg Improved swig_type_info static initialisation 2024-10-20 16:25:16 +01:00
strings.swg Fix undefined behaviour in directorout typemaps for void * and const char *& 2025-05-14 22:10:39 +01:00
swigmacros.swg Cleanup SWIG_VERSION definition 2022-10-13 19:47:43 +01:00
swigmove.swg Add missing SWIGTYPE MOVE typecheck typemaps 2024-03-07 08:28:06 +00:00
swigobject.swg Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01:00
swigtype.swg Fix for gcc-13 warning in SWIGTYPE[ANY][ANY] typemaps 2023-08-18 08:47:24 +01:00
swigtypemaps.swg Fix seg fault passing invalid unicode values to std::string 2024-10-20 14:19:24 +01:00
typemaps.swg Remove deprecated BOTH typemap rule 2023-06-15 15:07:04 +12:00
valtypes.swg Fix for STL containers static member and global variables 2024-02-18 14:21:17 +00:00
void.swg Fix undefined behaviour in directorout typemaps for void * and const char *& 2025-05-14 22:10:39 +01:00
wstring.swg Improved swig_type_info static initialisation 2024-10-20 16:25:16 +01:00

README

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