diff options
Diffstat (limited to 'plugins/pychrysa/debug')
-rw-r--r-- | plugins/pychrysa/debug/debugger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/debug/debugger.c b/plugins/pychrysa/debug/debugger.c index c27d30d..1e82272 100644 --- a/plugins/pychrysa/debug/debugger.c +++ b/plugins/pychrysa/debug/debugger.c @@ -67,7 +67,7 @@ static PyObject *py_binary_debugger_new(PyTypeObject *type, PyObject *args, PyOb GBinaryDebugger *debugger; /* Version GLib du format */ ret = PyArg_ParseTuple(args, "l", &dtype); - if (!ret) return Py_None; + if (!ret) Py_RETURN_NONE; debugger = g_new_binary_debugger(dtype, NULL/* FIXME */); @@ -188,7 +188,7 @@ static PyObject *py_binary_debugger_get_frames_stack(PyObject *self, PyObject *a debugger = G_BINARY_DEBUGGER(pygobject_get(self)); if (!PyArg_ParseTuple(args, "k", &thread)) - return Py_None; + Py_RETURN_NONE; frames = g_binary_debugger_get_frames_stack(debugger, thread, &count); |