函数
GLibtest_add_data_func_full
自:2.34
声明 [src]
void
g_test_add_data_func_full (
const char* testpath,
gpointer test_data,
GTestDataFunc test_func,
GDestroyNotify data_free_func
)
参数
testpath-
类型:
const char*测试的以“/”分隔的名称。
数据由函数调用者拥有。 值是一个以 NUL 结尾的 UTF-8 字符串。 test_data-
类型:
gpointertest_func的数据。参数可以是 NULL。数据由函数调用者拥有。 test_func-
类型:
GTestDataFunc为这个测试调用的测试函数。
data_free_func-
类型:
GDestroyNotifytest_data的GDestroyNotify。