diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-21 04:36:16 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-21 04:36:16 +0100 |
commit | eeb25cf548457b9c5a880252d2807be99f5e31d6 (patch) | |
tree | 7893b5f8a126269f9926ec06f4cb0fd2bc66ca15 /lib/talloc/pytalloc.h | |
parent | bfb29e94b1e9cbbbca4dcfbbad171ba10e09ce07 (diff) | |
download | samba-eeb25cf548457b9c5a880252d2807be99f5e31d6.tar.gz samba-eeb25cf548457b9c5a880252d2807be99f5e31d6.tar.xz samba-eeb25cf548457b9c5a880252d2807be99f5e31d6.zip |
Fix more introduced regressions in new bindings.
Diffstat (limited to 'lib/talloc/pytalloc.h')
-rw-r--r-- | lib/talloc/pytalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/pytalloc.h b/lib/talloc/pytalloc.h index e6745f937d..c5a1428b29 100644 --- a/lib/talloc/pytalloc.h +++ b/lib/talloc/pytalloc.h @@ -39,7 +39,7 @@ void py_talloc_dealloc(PyObject* self); * when talloc_get_type() returns NULL. */ #define py_talloc_get_type(py_obj, type) (talloc_get_type(py_talloc_get_ptr(py_obj), type)) -#define py_talloc_get_ptr(py_obj) ((py_talloc_Object *)py_obj)->ptr +#define py_talloc_get_ptr(py_obj) (((py_talloc_Object *)py_obj)->ptr) #define py_talloc_get_mem_ctx(py_obj) ((py_talloc_Object *)py_obj)->talloc_ctx PyObject *py_talloc_import_ex(PyTypeObject *py_type, TALLOC_CTX *mem_ctx, void *ptr); |