summaryrefslogtreecommitdiff
path: root/libvirt-python.spec.in
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2023-02-13 14:17:56 +0100
committerMichal Privoznik <mprivozn@redhat.com>2023-02-13 14:24:32 +0100
commitf8fefdf45c6ba1235f0c9ca454e5ea8f27a83607 (patch)
tree318f6d4ab5c560b569292ee79dbb3a28b23db9b0 /libvirt-python.spec.in
parent8ef7420806d7d2bf6368b637c5acced227f6d5e5 (diff)
downloadlibvirt-python-f8fefdf45c6ba1235f0c9ca454e5ea8f27a83607.tar.gz
typewrappers: Rework libvirt_uintUnwrap()
Python C API offers PyLong_AsUnsignedLong() which already raises an exception on negative values. Rewrite our libvirt_uintUnwrap() to use that and drop check for negative values. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'libvirt-python.spec.in')
0 files changed, 0 insertions, 0 deletions