*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fa5d4f79fb
commit
bccbdc5487
1 changed files with 16 additions and 2 deletions
|
|
@ -3,8 +3,22 @@ Version 1.3.25 (In progress)
|
|||
|
||||
03/31/2005: wsfulton
|
||||
Turned on extra template features previously only available to Python.
|
||||
Enables extra typemaps to be picked up when %template() is used without
|
||||
giving a template name.
|
||||
This enables typemaps defined within a templated class to be used as
|
||||
expected. Requires %template on the templated class, %template() will
|
||||
also pick up the typemaps. Example:
|
||||
|
||||
template <typename T> struct Foo {
|
||||
...
|
||||
%typemap(in) Foo "in typemap for Foo<T> "
|
||||
or
|
||||
%typemap(in) Foo<T> "in typemap for Foo<T> "
|
||||
};
|
||||
|
||||
%template(Foo_i) Foo<int>;
|
||||
%template() Foo<double>;
|
||||
|
||||
will generate the proper 'in' typemaps wherever Foo<int> and Foo<double>
|
||||
are used.
|
||||
|
||||
03/30/2005: mkoeppe (Matthias Koeppe)
|
||||
[MzScheme] Patch from Hans Oesterholt for supporting MzScheme 30x.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue