summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-09-28 15:03:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-09-28 15:03:17 +0200
commit830adcd58d6b1fbc3e693762ab2e8a8cfd7ecab3 (patch)
tree4794e4679b0182932c12e8d7b63789ba5dc1ca7f /lib/talloc/pytalloc.h
parent5c0edba8c2ade663d630a3b9f3ff0c4862129783 (diff)
downloadsamba-830adcd58d6b1fbc3e693762ab2e8a8cfd7ecab3.tar.gz
samba-830adcd58d6b1fbc3e693762ab2e8a8cfd7ecab3.tar.bz2
samba-830adcd58d6b1fbc3e693762ab2e8a8cfd7ecab3.zip
pidl: Avoid using talloc_free as function pointer, since it may be a
macro.
Diffstat (limited to 'lib/talloc/pytalloc.h')
-rw-r--r--lib/talloc/pytalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/talloc/pytalloc.h b/lib/talloc/pytalloc.h
index 3bfb272958..9b6587261c 100644
--- a/lib/talloc/pytalloc.h
+++ b/lib/talloc/pytalloc.h
@@ -52,4 +52,6 @@ PyObject *py_talloc_default_repr(PyObject *py_obj);
#define py_talloc_new(type, typeobj) py_talloc_steal(typeobj, talloc_zero(NULL, type))
+PyObject *PyCObject_FromTallocPtr(void *);
+
#endif /* _PY_TALLOC_H_ */