pytalloc: Add pytalloc_BaseObject_PyType_Ready() wrapper
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Feb 2016 20:26:29 +0000 (09:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:29 +0000 (01:58 +0100)
commitd850991ee2284050916761ea2f0ccac45df4eb4f
tree0af0cdf0c603cb6a8e5f3aedac00432b44a4e8e3
parentd82b11b21cb3905b112fc49956c98beb1cb79ed9
pytalloc: Add pytalloc_BaseObject_PyType_Ready() wrapper

This avoids the need for the caller to set tp_base and tp_basicsize and
so removes those as possible errors.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/talloc/ABI/pytalloc-util-2.1.6.sigs
lib/talloc/ABI/pytalloc-util.py3-2.1.6.sigs
lib/talloc/pytalloc.h
lib/talloc/pytalloc_guide.txt
lib/talloc/pytalloc_util.c