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:
parent
b20da5456b
commit
b301617976
7 changed files with 67 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue