commit | 217cfd1c86c59ed8a55ce6d6b88bbe37309e7ba2 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Sun Dec 02 14:31:20 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Sun Dec 02 14:31:20 2007 +0000 |
tree | 4737b4a91359c94953623ab9ee297e9a90f319e4 | |
parent | 1a3284ed69d545e4ef59869998cb8c29233a45fa [diff] |
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
diff --git a/Demo/embed/demo.c b/Demo/embed/demo.c index 6005f13..bc2406a 100644 --- a/Demo/embed/demo.c +++ b/Demo/embed/demo.c
@@ -48,7 +48,7 @@ static PyObject * xyzzy_foo(PyObject *self, PyObject* args) { - return PyInt_FromLong(42L); + return PyLong_FromLong(42L); } static PyMethodDef xyzzy_methods[] = {