Fix a compile error when using void * in the test suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4c1614424d
commit
6d5b48fe6e
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ SIMPLE_TYPEMAP(double, C_c_double, C_flonum, C_swig_is_number, (double), C_SIZEO
|
|||
|
||||
/* Void pointer. Accepts any kind of pointer */
|
||||
%typemap(in) void * {
|
||||
$1 = SWIG_MustGetPtr($input, NULL, $argnum, 0);
|
||||
$1 = ($1_ltype)SWIG_MustGetPtr($input, NULL, $argnum, 0);
|
||||
}
|
||||
|
||||
%typemap(varin,closcode="(slot-ref $input 'swig-this)") SWIGTYPE * {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue