summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Borzenkov <snaury@gmail.com>2014-08-23 00:20:35 +0400
committerAlexey Borzenkov <snaury@gmail.com>2014-08-23 00:20:35 +0400
commit2c89dd8b780fb80a48b4a78bbab01970709902ba (patch)
treedebf31a924e60f6769fc121f38ebe3873bfb8884
parent4c2b2c45ed16528276a3c594bed9248d7b966909 (diff)
downloadgreenlet-2c89dd8b780fb80a48b4a78bbab01970709902ba.tar.gz
PyGreenlet_SetParent: fix return type in greenlet.h
-rw-r--r--greenlet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/greenlet.h b/greenlet.h
index 23887a8..15c6e60 100644
--- a/greenlet.h
+++ b/greenlet.h
@@ -114,7 +114,7 @@ static void **_PyGreenlet_API = NULL;
* g.parent = new_parent
*/
#define PyGreenlet_SetParent \
- (* (PyObject * (*)(PyGreenlet *greenlet, PyGreenlet *nparent)) \
+ (* (int (*)(PyGreenlet *greenlet, PyGreenlet *nparent)) \
_PyGreenlet_API[PyGreenlet_SetParent_NUM])
/* Macro that imports greenlet and initializes C API */