Added correct (I hope) typechecking for native scripting objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c312a6fb14
commit
7764b8227a
3 changed files with 7 additions and 4 deletions
|
|
@ -295,6 +295,7 @@
|
|||
typedef unsigned long SCM;
|
||||
%typemap (in) SCM "$1=$input;";
|
||||
%typemap (out) SCM "$result=$1;";
|
||||
%typecheck(SWIG_TYPECHECK_POINTER) SCM "$1=1;";
|
||||
|
||||
/* Some ANSI C typemaps */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue