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
|
|
@ -27,7 +27,7 @@
|
|||
__VA_ARGS__ *ptr = (__VA_ARGS__ *)0;
|
||||
int res = asptr_meth($input, &ptr);
|
||||
if (!res || !ptr) {
|
||||
PyErr_SetString(PyExc_TypeError, "C variable '$name ($1_ltype)'");
|
||||
PyErr_SetString(PyExc_TypeError, "C/C++ variable '$name ($1_ltype)'");
|
||||
return 1;
|
||||
}
|
||||
$1 = *ptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue