Re: [Qemu-devel] [PATCH for-2.7 v4 32/36] tests: add qtest_add_data_func_full

2016-08-05 Thread Markus Armbruster
marcandre.lur...@redhat.com writes: > From: Marc-André Lureau > > Allows one to specify a destroy function for the test data. > > Signed-off-by: Marc-André Lureau Since Eric's okay with the function type punning in the compatibility code for old GLib, I refrain from rocking the boat, and just s

[Qemu-devel] [PATCH for-2.7 v4 32/36] tests: add qtest_add_data_func_full

2016-08-05 Thread marcandre . lureau
From: Marc-André Lureau Allows one to specify a destroy function for the test data. Signed-off-by: Marc-André Lureau --- tests/libqtest.c | 15 +++ tests/libqtest.h | 17 + 2 files changed, 32 insertions(+) diff --git a/tests/libqtest.c b/tests/libqtest.c index eb0