summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/debug
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-21 23:34:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-21 23:34:14 (GMT)
commit3bfff245c47c4dd1404c5ea7af0ff4858ac8d130 (patch)
treedc3613e2ebdef4d04fa874335795268dba732d31 /plugins/pychrysa/debug
parent0cfcbee3c536ac6d11ec806d47ce4c136f695697 (diff)
Resolved relative addresses for routines and fixed bugs related to PyGObjects construction.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@308 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/debug')
-rw-r--r--plugins/pychrysa/debug/debugger.c4
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);