diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-06-07 02:42:51 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-06-07 02:42:51 +0400 |
commit | a703837179d40fc5e34ae06619d4610a09f72097 (patch) | |
tree | c4e456784f79dd26393e2350155b75c398d0d706 /source/blender/python/api2_2x/NLA.c | |
parent | d97e3e55273c6c381eead86f807514ef1d4a3941 (diff) |
Replace deprecated methods from old api:
PythonReturnErrorObject
PythonIncRef
Fix some compiler warnings about missing initializers
in method tables.
Diffstat (limited to 'source/blender/python/api2_2x/NLA.c')
-rw-r--r-- | source/blender/python/api2_2x/NLA.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/NLA.c b/source/blender/python/api2_2x/NLA.c index 9ae6bd66bbc..650ae4fe413 100644 --- a/source/blender/python/api2_2x/NLA.c +++ b/source/blender/python/api2_2x/NLA.c @@ -204,7 +204,7 @@ M_NLA_GetActions(PyObject* self) Py_DECREF (py_action); } else { Py_DECREF ( dict ); - return (PythonReturnErrorObject (PyExc_RuntimeError, + return (EXPP_ReturnPyObjError (PyExc_RuntimeError, "NLA_GetActions: could not create Action object")); } } @@ -359,7 +359,7 @@ static PyObject *Action_getAllChannelIpos (BPy_Action *self) Py_DECREF (ipo_attr); } else { Py_DECREF ( dict ); - return (PythonReturnErrorObject (PyExc_RuntimeError, + return (EXPP_ReturnPyObjError (PyExc_RuntimeError, "Action_getAllChannelIpos: could not create Ipo object")); } } |