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:
Marcelo Matus 2004-08-18 22:57:05 +00:00
commit ed69164312
5 changed files with 15 additions and 18 deletions

View file

@ -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;