pytalloc: Add new BaseObject
authorAndrew Bartlett <abartlet@samba.org>
Mon, 22 Feb 2016 01:02:28 +0000 (14:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:26 +0000 (01:58 +0100)
commit80f2b36efb6380defb646f7612f23c431acf8e1a
tree124b28f9e51b34b77325dba119f0cc8db88eaa14
parent528dce1b5326e00446f5fe233b8af52bcb1990a9
pytalloc: Add new BaseObject

This new object not only avoids the ABI issues of talloc.Object
it stores one more pointer, being the start of the array, and
so can be used to fix the PIDL bindings/talloc refcount issue.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/talloc/pytalloc.c
lib/talloc/pytalloc.h
lib/talloc/pytalloc_guide.txt
lib/talloc/pytalloc_private.h [new file with mode: 0644]
lib/talloc/pytalloc_util.c
lib/talloc/test_pytalloc.c
lib/talloc/test_pytalloc.py