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:
John Lenz 2006-01-19 03:16:01 +00:00
commit 6d5b48fe6e

View file

@ -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 * {