Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):

_SWIG_ConvertPtr


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-09-23 21:18:15 +00:00
commit 61e4857f78

View file

@ -103,7 +103,7 @@ SWIG_ZTS_SetPointerZval(zval *z, void *ptr, swig_type_info *type, int newobject,
ptr calling making appropriate casting functions according to ty
We don't use this any more */
SWIGRUNTIME(int)
_SWIG_ConvertPtr(char *c, void **ptr, swig_type_info *ty) {
SWIG_ConvertPtr_(char *c, void **ptr, swig_type_info *ty) {
register int d;
unsigned long p;
swig_type_info *tc;
@ -231,7 +231,7 @@ SWIG_ZTS_ConvertPtr(zval *z, void **ptr, swig_type_info *ty TSRMLS_DC) {
return SWIG_ZTS_ConvertResourcePtr(z,ptr,ty TSRMLS_CC);
} else if (z->type==IS_STRING) {
c = Z_STRVAL_P(z);
return _SWIG_ConvertPtr(c,ptr,ty);
return SWIG_ConvertPtr_(c,ptr,ty);
} else goto type_error;
type_error: