mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 05:09:21 +02:00
gtestutils: add g_test_add_data_func_full()
Like g_test_add_data_func(), but includes a GDestroyNotify for the test data. https://bugzilla.gnome.org/show_bug.cgi?id=682560
This commit is contained in:
@@ -108,6 +108,13 @@ void g_test_add_func (const char *testpath,
|
||||
void g_test_add_data_func (const char *testpath,
|
||||
gconstpointer test_data,
|
||||
GTestDataFunc test_func);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
void g_test_add_data_func_full (const char *testpath,
|
||||
gpointer test_data,
|
||||
GTestDataFunc test_func,
|
||||
GDestroyNotify data_free_func);
|
||||
|
||||
/* tell about failure */
|
||||
void g_test_fail (void);
|
||||
|
||||
|
Reference in New Issue
Block a user