pytalloc: Add pytalloc_BaseObject_PyType_Ready() wrapper
commitac3265be5d454e4b5ad99b0fe0b5589562eb4ee2
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Feb 2016 20:26:29 +0000 (1 09:26 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Mar 2016 19:29:38 +0000 (15 20:29 +0100)
treef9c9881e82d15db5262d33edc7875d09df2f206b
parent819a07a312c0bb7dbed53ba8ed3b64d11ac49730
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>
(cherry picked from commit d850991ee2284050916761ea2f0ccac45df4eb4f)
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