python: Remove const from PyList_AsStringList()
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2023 02:32:46 +0000 (14:32 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2023 05:23:32 +0000 (05:23 +0000)
commit5afd206d1d8f0344a2f1fa7a238204d1fb164eda
tree8a780395b9b4d47305ede2d1fc2f45bd51d73b27
parentfd81759e2ed44cac3bc67243a39256f953969103
python: Remove const from PyList_AsStringList()

The returned strings are not owned by python, so need not be const.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15289

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/modules.c
python/modules.h
source4/auth/pyauth.c