nmtst: fix nmtst_test_data_unpack() macro

Fixes: e6244814eb
This commit is contained in:
Thomas Haller 2016-02-07 19:07:38 +01:00
parent 170b94598a
commit 03ec751402

View file

@ -685,7 +685,7 @@ _nmtst_test_data_unpack_detail (const NmtstTestData *test_data, const char **det
va_end (ap);
}
#define nmtst_test_data_unpack_detail(test_data, detail, ...) _nmtst_test_data_unpack_detail(test_data, detail, NM_NARG (__VA_ARGS__), ##__VA_ARGS__)
#define nmtst_test_data_unpack(test_data, ...) nmtst_test_data_unpack(test_data, NULL, ##__VA_ARGS__)
#define nmtst_test_data_unpack(test_data, ...) nmtst_test_data_unpack_detail(test_data, NULL, ##__VA_ARGS__)
inline static void
_nmtst_test_data_free (gpointer data)