VC++ warning fixes for python builtin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6c25cdde13
commit
87506db48f
2 changed files with 0 additions and 3 deletions
|
|
@ -521,7 +521,6 @@ SWIGRUNTIMEINLINE int
|
|||
SwigPyObject_Check(PyObject *op) {
|
||||
#ifdef SWIGPYTHON_BUILTIN
|
||||
PyTypeObject *target_tp = SwigPyObject_type();
|
||||
PyTypeObject *obj_tp;
|
||||
if (PyType_IsSubtype(op->ob_type, target_tp))
|
||||
return 1;
|
||||
return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue