add back def PySwigObject_GetDesc

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-03 23:28:15 +00:00
commit 074fba0b98

View file

@ -1265,6 +1265,14 @@ SWIG_Python_ArgFail(int argnum)
}
}
SWIGRUNTIMEINLINE const char *
PySwigObject_GetDesc(PyObject *self)
{
PySwigObject *v = (PySwigObject *)self;
swig_type_info *ty = v ? v->ty : 0;
return ty ? ty->str : (char*)"";
}
SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{