pytevent: add a TeventTimer_Object_ref helper structure to make the code clearer
authorStefan Metzmacher <metze@samba.org>
Thu, 11 Jun 2015 07:51:19 +0000 (09:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:19 +0000 (17:08 +0200)
commit93ee074f912da02d4c1f1584df9b107364b639be
tree9a75e5096b3de42b28cb27cac9edbf993d8696d3
parentfb04f0f4190005ff21817b79d02897af23ddc7ee
pytevent: add a TeventTimer_Object_ref helper structure to make the code clearer

This gives talloc_set_destructor to verify the type,
which removes a compiler warning.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/tevent/pytevent.c