More fixes for arrays and variables, mostly cosmetic ones.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9bf7c2385b
commit
ed69164312
5 changed files with 15 additions and 18 deletions
|
|
@ -18,7 +18,7 @@
|
|||
void * temp;
|
||||
if ((SWIG_ConvertPtr($input, &temp, 0,
|
||||
SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
|
||||
PyErr_SetString(PyExc_TypeError, "C variable '$name ($1_ltype)'");
|
||||
PyErr_SetString(PyExc_TypeError, "C/C++ variable '$name ($1_ltype)'");
|
||||
return 1;
|
||||
}
|
||||
$1 = ($1_ltype) temp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue