remove all python api functions deprecated in 2.49
This commit is contained in:
@@ -62,17 +62,9 @@ PyTypeObject CValue::Type = {
|
||||
};
|
||||
|
||||
PyMethodDef CValue::Methods[] = {
|
||||
{ "getName", (PyCFunction) CValue::sPyGetName, METH_NOARGS},
|
||||
{NULL,NULL} //Sentinel
|
||||
};
|
||||
|
||||
PyObject* CValue::PyGetName()
|
||||
{
|
||||
ShowDeprecationWarning("getName()", "the name property");
|
||||
|
||||
return PyUnicode_FromString(this->GetName());
|
||||
}
|
||||
|
||||
/*#define CVALUE_DEBUG*/
|
||||
#ifdef CVALUE_DEBUG
|
||||
int gRefCount;
|
||||
|
Reference in New Issue
Block a user