Added void * typemap to fix Examples/tcl/value (not really sure why this
was missing in the first place). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e740b92e7e
commit
d6477b1912
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
|||
%typemap(in) SWIGTYPE *, SWIGTYPE &, SWIGTYPE []
|
||||
"if ((SWIG_ConvertPtr(interp, $input, (void **) &$1, $1_descriptor,SWIG_POINTER_EXCEPTION | $disown) != TCL_OK)) SWIG_fail;";
|
||||
|
||||
%typemap(in) void *
|
||||
"if ((SWIG_ConvertPtr(interp, $input, (void **) &$1, 0,SWIG_POINTER_EXCEPTION | $disown) != TCL_OK)) SWIG_fail;";
|
||||
|
||||
/* For bools, we first convert to an integer and then to a bool. There
|
||||
is no guarantee that a bool is the same size as an int so we have to do this */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue