git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b61ff
)
pyldb: Provide replacement for sizeargfunc, not available before Python2.5.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 23 Dec 2008 10:48:14 +0000
(11:48 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 23 Dec 2008 10:48:14 +0000
(11:48 +0100)
source4/lib/ldb/pyldb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/pyldb.c
b/source4/lib/ldb/pyldb.c
index f4f43a3d0b25384b693a5f72fe02ed909f0e4c0f..ed77added5df786885160c4ff6c9425f2066830f 100644
(file)
--- a/
source4/lib/ldb/pyldb.c
+++ b/
source4/lib/ldb/pyldb.c
@@
-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