swig/Source/Swig
Marcelo Matus e0adc5af01 Fragments can now be "type especialized", as the typemaps. The
syntax is as follows

 %fragment("name","header") { /* an old fragment */ }
 %fragment("name" {Type}, "header") { /* the fragment is type dependent */}

Now fragments can also be used inside templates:

 template <class T>
 struct A {
   %fragment("incode"{A<T>},"header") {
     /* 'incode' especialized fragment */
   }

   %typemap(in,fragment="incode"{A<T>}) {
     /*
       here we use the 'type especialized' fragment
       "incode"{A<T> }
      */
   }
 };


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:36:06 +00:00
..
.cvsignore *** empty log message *** 2003-01-22 08:11:51 +00:00
cwrap.c Added the ref/unref 'recursive' featues. See refcount.i for details 2004-02-10 09:21:36 +00:00
error.c - Normalize the 'Swig_error' calls and formats, before some 2004-01-15 08:33:12 +00:00
fragment.c Fragments can now be "type especialized", as the typemaps. The 2004-03-17 08:36:06 +00:00
getopt.c The great merge 2002-11-30 22:01:28 +00:00
include.c Fix so that Windows paths are displayed correctly when reporting errors. 2003-12-28 21:38:58 +00:00
misc.c Using the unused 'Swig_string_mangle' method to 2004-03-17 08:27:02 +00:00
naming.c Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free: 2004-01-15 22:46:07 +00:00
parms.c Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free: 2004-01-15 22:46:07 +00:00
scanner.c Eliminate compiler warning. 2003-10-31 17:48:02 +00:00
stype.c Fixed casting problem with references to arrays in gcc-3.3 (and maybe other versions). 2003-11-28 19:06:35 +00:00
swig.h bool patch code removal 2004-02-20 22:52:49 +00:00
swig.i The great merge 2002-11-30 22:01:28 +00:00
symbol.c forte warning fixes 2004-01-21 21:27:43 +00:00
tree.c Major refactoring of DOH List/Hash iterators. See CHANGES 2003-09-11 20:26:57 +00:00
typemap.c Fragments can now be "type especialized", as the typemaps. The 2004-03-17 08:36:06 +00:00
typeobj.c Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free: 2004-01-15 22:46:07 +00:00
typesys.c Keep the old non-resolved type str and add the fully 2004-02-10 08:37:30 +00:00
warn.c The great merge 2002-11-30 22:01:28 +00:00
wrapfunc.c Minor tweak. 2003-04-30 17:42:24 +00:00