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:
parent
4d3a666e92
commit
074fba0b98
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
SWIGRUNTIME void
|
||||||
SWIG_Python_TypeError(const char *type, PyObject *obj)
|
SWIG_Python_TypeError(const char *type, PyObject *obj)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue