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:
Marcelo Matus 2005-10-27 11:30:14 +00:00
commit a8fe5247e2
8 changed files with 56 additions and 19 deletions

View file

@ -233,6 +233,7 @@
}
$1 = temp;
}
%typemap(freearg) Char [ANY], const Char [ANY] "";
%typemap(in,noblock=1,fragment=#SWIG_AsCharArray) const Char (&)[ANY] (Char temp[$1_dim0])
{
@ -241,6 +242,7 @@
}
$1 = &temp;
}
%typemap(freearg) const Char (&)[ANY] "";
%typemap(out,fragment=#SWIG_FromCharPtrAndSize)
Char [ANY], const Char[ANY]