pycredentials.h: use import to ensure python type correctness
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 6 Jul 2019 07:09:57 +0000 (19:09 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 22 Jul 2019 22:20:26 +0000 (22:20 +0000)
commit0d0a88fc6a4371bf3666186792f253cacf2f1378
tree73fbc814bc801d337d71fb7d1d59fe1b35828947
parentc9c1d444881d4464842cfc19fcb5ddd41c58dfa9
pycredentials.h: use import to ensure python type correctness

Because we include pyrpc_util.h, pycredentials doesn't need its own
PyStringFromStringOrNull().

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/pycredentials.c
auth/credentials/pycredentials.h