summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-21 00:24:54 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-21 00:24:54 +0100
commit64419f47daa3d28587fd29f5c4217755acac7e4f (patch)
tree42613daa6532bccfbb3e938a4be2fc08ebe4f759 /source4/lib
parent40510348299e3b7b5bcebdb39072f2a44316c806 (diff)
downloadsamba-64419f47daa3d28587fd29f5c4217755acac7e4f.tar.gz
samba-64419f47daa3d28587fd29f5c4217755acac7e4f.tar.bz2
samba-64419f47daa3d28587fd29f5c4217755acac7e4f.zip
Implement some of the stubs in misc python module.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/pyldb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/pyldb.h b/source4/lib/ldb/pyldb.h
index 159dd1f72c..c71f1afc72 100644
--- a/source4/lib/ldb/pyldb.h
+++ b/source4/lib/ldb/pyldb.h
@@ -36,6 +36,7 @@ typedef py_talloc_Object PyLdbObject;
PyAPI_DATA(PyTypeObject) PyLdb;
PyObject *PyLdb_FromLdbContext(struct ldb_context *ldb_ctx);
#define PyLdb_AsLdbContext(pyobj) py_talloc_get_type(pyobj, struct ldb_context)
+#define PyLdb_Check(ob) PyObject_TypeCheck(ob, &PyLdb)
typedef py_talloc_Object PyLdbDnObject;
PyAPI_DATA(PyTypeObject) PyLdbDn;