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
|
|
@ -32,6 +32,7 @@
|
|||
$1 = *ptr;
|
||||
if (res == SWIG_NEWOBJ) %delete(ptr);
|
||||
}
|
||||
%typemap(freearg) Type "";
|
||||
%typemap(in,fragment=frag) const Type & (int res = 0) {
|
||||
Type *ptr = (Type *)0;
|
||||
res = asptr_meth($input, &ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue