added methods for size_t and more freearg typemaps around, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
05c529eedc
commit
a8fe5247e2
8 changed files with 56 additions and 19 deletions
|
|
@ -38,6 +38,7 @@
|
|||
}
|
||||
$1 = %static_cast(val,$ltype);
|
||||
}
|
||||
%typemap(freearg) Type "";
|
||||
%typemap(in,noblock=1,fragment=frag) const Type & ($*ltype temp, Type val, int ecode = 0) {
|
||||
ecode = asval_meth($input, &val);
|
||||
if (ecode != SWIG_OK) {
|
||||
|
|
@ -46,6 +47,7 @@
|
|||
temp = %static_cast(val, $*ltype);
|
||||
$1 = &temp;
|
||||
}
|
||||
%typemap(freearg) const Type& "";
|
||||
%enddef
|
||||
|
||||
/* out */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue