adding more missing typemaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-03 11:11:21 +00:00
commit b301617976
7 changed files with 67 additions and 1 deletions

View file

@ -3,11 +3,20 @@
* ------------------------------------------------------------ */
%typemap(in) SWIG_Object "$1 = $input;";
%typemap(freearg) SWIG_Object "";
%typemap(out,noblock=1) SWIG_Object {
%typemap(in) SWIG_Object const & "$1 = &$input;";
%typemap(freearg) SWIG_Object const & "";
%typemap(out,noblock=1) SWIG_Object {
$result = $1;
}
%typemap(out,noblock=1) SWIG_Object const & {
$result = *$1;
}
%typecheck(SWIG_TYPECHECK_POINTER) SWIG_Object "$1 = ($input != 0);";
%typemap(throws,noblock=1) SWIG_Object {