]> git.ipfire.org Git - thirdparty/samba.git/commit
python: Use constants from hresult.h for python constants
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 Nov 2023 21:37:13 +0000 (10:37 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Nov 2023 01:05:32 +0000 (01:05 +0000)
commit983f222e382dfd2cf9df202f0645bdb1ec8a62ed
treefa7419843f3159c7e713f74f10ecab21cb99daba
parentb14ead30da3fa6a12412ce97724daebb3cc3ebfa
python: Use constants from hresult.h for python constants

This encourages us to keep a single source for constants.

In the future this should be a generated python file like for ntstatus.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/pyglue.c
python/samba/__init__.py