pyldb: Provide replacement for sizeargfunc, not available before Python2.5.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 23 Dec 2008 10:48:14 +0000 (11:48 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 23 Dec 2008 10:48:14 +0000 (11:48 +0100)
source4/lib/ldb/pyldb.c

index f4f43a3d0b25384b693a5f72fe02ed909f0e4c0f..ed77added5df786885160c4ff6c9425f2066830f 100644 (file)
@@ -32,6 +32,7 @@
 #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
 typedef int Py_ssize_t;
 typedef inquiry lenfunc;
+typedef intargfunc sizeargfunc;
 #endif
 
 /* Picked out of thin air. To do this properly, we should probably have some part of the