]> git.ipfire.org Git - thirdparty/samba.git/commit
pyldb: Move PyErr_LDB_OR_RAISE() and PyErr_LDB_DN_OR_RAISE() into pyldb.h
authorAndrew Bartlett <abartlet@samba.org>
Mon, 4 Dec 2023 21:34:56 +0000 (10:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 3 Mar 2024 22:33:35 +0000 (22:33 +0000)
commit8b0d00a8e3e9fb427db6eef565de7b09e42784f8
tree7f19ffd32ffd78b5033963572aa4f9b9cfe22cd6
parent6c3ca9e4967746af5bf087a339e368d4a0bf9e96
pyldb: Move PyErr_LDB_OR_RAISE() and PyErr_LDB_DN_OR_RAISE() into pyldb.h

While these style of macros are against our coding style, it is still better
to have them in a single place, and while pyldb.h is technically public
Samba is the only user of the C bindings.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/pyldb.h
source4/dns_server/pydns.c
source4/dsdb/pydsdb.c