X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ftest.h;h=9f0f47e355968931ac384b520ae365e7c66f2277;hb=95fd67da4903671adb5731b710798843938e8536;hp=051262911e36e48225da783a372329835fe122cd;hpb=433343633afc75bea091b0fefda6578aa653c665;p=awesomized%2Flibmemcached diff --git a/tests/test.h b/tests/test.h index 05126291..9f0f47e3 100644 --- a/tests/test.h +++ b/tests/test.h @@ -29,7 +29,7 @@ typedef enum { TEST_MAXIMUM_RETURN /* Always add new error code before */ } test_return_t; -typedef void *(*test_callback_create_fn)(void); +typedef void *(*test_callback_create_fn)(test_return_t *error); typedef test_return_t (*test_callback_fn)(void *); typedef test_return_t (*test_callback_runner_fn)(test_callback_fn, void *); typedef test_return_t (*test_callback_error_fn)(test_return_t, void *);