mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
pidl(s4.python): Fix arguments to PyCObject_FromVoidPtr for string_array's.
Caught by Guenther.
This commit is contained in:
parent
9a9202e7bd
commit
390cd90c8f
@ -998,7 +998,7 @@ sub ConvertScalarToPython($$$)
|
||||
}
|
||||
|
||||
# Not yet supported
|
||||
if ($ctypename eq "string_array") { return "PyCObject_FromVoidPtr($cvar)"; }
|
||||
if ($ctypename eq "string_array") { return "PyCObject_FromVoidPtr($cvar, talloc_free)"; }
|
||||
if ($ctypename eq "ipv4address") { return "PyString_FromString($cvar)"; }
|
||||
if ($ctypename eq "pointer") {
|
||||
return "PyCObject_FromVoidPtr($cvar, talloc_free)";
|
||||
|
Loading…
Reference in New Issue
Block a user