%fragment("Hello","header") "..."
%fragment("Hi","header",fragment="Hello") "..."
the latter fragment will include the first one if is invoked.
more than one fragment can be included at the time, just
keep adding fragment="f1",fragment="f2", etc.
this is used to emulate typemaps reuse, where all the
reusable typemap code is put in a fragment static method,
and then it can be included from another fragment typemap
as needed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| allocate.cxx | ||
| browser.cxx | ||
| chicken.cxx | ||
| contract.cxx | ||
| csharp.cxx | ||
| directors.cxx | ||
| emit.cxx | ||
| guile.cxx | ||
| java.cxx | ||
| lang.cxx | ||
| main.cxx | ||
| module.cxx | ||
| mzscheme.cxx | ||
| ocaml.cxx | ||
| overload.cxx | ||
| perl5.cxx | ||
| php4.cxx | ||
| pike.cxx | ||
| python.cxx | ||
| README | ||
| ruby.cxx | ||
| s-exp.cxx | ||
| swigmain.cxx | ||
| swigmod.h | ||
| tcl8.cxx | ||
| typepass.cxx | ||
| utils.cxx | ||
| xml.cxx | ||
06/25/2002 This directory contains all of the SWIG language modules. Many of these modules contain code that dates back to SWIG1.0. The module API has changed a lot in the development releases so this is fairly messy. We're working on cleaning it up, but you'll have to bear with us until it's done. -- Dave