swig/Lib/typemaps
Gonzalo Garramuno 7a3c9a08a2 Changed swigtype.swg to use static_cast's instead of
reinterpret_cast's.
This fixes a potentially subtle problem with director
classes using reinterpret casts in their casts
and when casting class that have multiple inheritance. 
The code currently generated by swig actually works
find under most compilers but was, afaik, not truly 
C++ conformant.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 09:00:59 +00:00
..
attribute.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +00:00
carrays.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +00:00
cdata.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +00:00
cmalloc.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +00:00
cpointer.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +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 cosmetic fix 2006-05-03 23:08:51 +00: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 to %argument_fail 2006-01-02 17:37:53 +00:00
exception.swg Added two #ifdef guards to allow replacing some 2007-04-29 20:50:08 +00:00
factory.swg add note for namespace issues 2006-03-07 09:15:31 +00:00
fragments.swg Fix a few more typos in comments 2006-09-28 06:39:07 +00:00
implicit.swg more fixes for old Solaris compiler 2006-02-18 08:17:23 +00: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 use one line macro when possible 2006-02-10 08:14:58 +00:00
ptrtypes.swg use better names to avoid clashing with directors, as reported by Eric Blossom 2006-03-27 21:20:46 +00:00
README Fix a few more typos in comments 2006-09-28 06:39:07 +00:00
std_except.swg use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27 2006-01-14 21:23:36 +00:00
std_string.swg fix/apply naturalvar 2006-01-29 03:29:20 +00:00
std_strings.swg more fixes/tests for empty strings 2006-05-04 04:45:41 +00:00
std_wstring.swg fix/apply naturalvar 2006-01-29 03:29:20 +00:00
string.swg fix prototype warnings, as reported by Max Browsher 2006-03-26 07:09:22 +00:00
strings.swg Fixes for %apply char *, char[], char[ANY] to other types, like unsigned char 2006-10-19 21:35:19 +00:00
swigmacros.swg add missing SWIG_VERSION 2006-04-11 02:04:27 +00:00
swigobject.swg add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p) 2006-03-01 23:30:37 +00:00
swigtype.swg Changed swigtype.swg to use static_cast's instead of 2007-09-19 09:00:59 +00:00
swigtypemaps.swg Fix a few more typos in comments 2006-09-28 06:39:07 +00:00
traits.swg add implicitconv support and cosmetics for cast rank 2005-12-27 22:06:26 +00:00
typemaps.swg Common template for head of each file detailing licence, distribution and authors information 2006-03-07 00:14:10 +00:00
valtypes.swg use better names to avoid clashing with directors, as reported by Eric Blossom 2006-03-27 21:20:46 +00:00
void.swg add '= 0' to avoid warnings in icc 2006-02-25 08:21:12 +00:00
wstring.swg add missing typecheck codes and Char typemaps 2006-01-04 21:46:27 +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