fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
99f0122d0d
commit
efcc7aeacf
8 changed files with 47 additions and 17 deletions
|
|
@ -23,7 +23,11 @@
|
|||
%typemap(in) int Space::nspace "/*int nspace in */ $1=0;"
|
||||
%typemap(out) int Space::nspace "/*int nspace out*/ $result=0;"
|
||||
%typemap(in) int member "/*int member in */ $1=0;"
|
||||
#ifdef SWIGTCL
|
||||
%typemap(out) int member "/*int member out*/"
|
||||
#else
|
||||
%typemap(out) int member "/*int member out*/ $result=0;"
|
||||
#endif
|
||||
%typemap(in) int Space::Struct::smember "/*int smember in */ $1=0;"
|
||||
%typemap(out) int Space::Struct::smember "/*int smember out*/ $result=0;"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue