@@ -110,7 +110,7 @@ extern "C" {
110
110
/**
111
111
* @brief Patch version.
112
112
*/
113
- #define CUTEST_VERSION_PATCH 1
113
+ #define CUTEST_VERSION_PATCH 2
114
114
115
115
/**
116
116
* @brief Development version.
@@ -185,7 +185,7 @@ extern "C" {
185
185
* @see TEST_P
186
186
*/
187
187
#define TEST_FIXTURE_SETUP (fixture ) \
188
- TEST_C_API static void s_cutest_fixture_setup_##fixture(void)
188
+ static void s_cutest_fixture_setup_##fixture(void)
189
189
190
190
/**
191
191
* @brief TearDown test suit
@@ -194,7 +194,7 @@ extern "C" {
194
194
* @see TEST_P
195
195
*/
196
196
#define TEST_FIXTURE_TEARDOWN (fixture ) \
197
- TEST_C_API static void s_cutest_fixture_teardown_##fixture(void)
197
+ static void s_cutest_fixture_teardown_##fixture(void)
198
198
199
199
/**
200
200
* @brief Get parameterized data
@@ -216,7 +216,7 @@ extern "C" {
216
216
* @param[in] ... Data values
217
217
*/
218
218
#define TEST_PARAMETERIZED_DEFINE (fixture , test , TYPE , ...) \
219
- TEST_C_API static void cutest_usertest_parameterized_register_##fixture##_##test(void (*cb)(TYPE*, unsigned long)) {\
219
+ static void cutest_usertest_parameterized_register_##fixture##_##test(void (*cb)(TYPE*, unsigned long)) {\
220
220
static TYPE s_parameterized_userdata[] = { __VA_ARGS__ };\
221
221
static cutest_case_t s_tests[TEST_NARG(__VA_ARGS__)];\
222
222
unsigned long number_of_parameterized_data = sizeof(s_parameterized_userdata) / sizeof(s_parameterized_userdata[0]);\
@@ -293,7 +293,7 @@ extern "C" {
293
293
*/
294
294
#define TEST_F (fixture , test ) \
295
295
TEST_C_API void cutest_usertest_body_##fixture##_##test(void);\
296
- TEST_C_API static void s_cutest_proxy_##fixture##_##test(void* _test_parameterized_data,\
296
+ static void s_cutest_proxy_##fixture##_##test(void* _test_parameterized_data,\
297
297
unsigned long _test_parameterized_idx) {\
298
298
TEST_PARAMETERIZED_SUPPRESS_UNUSED;\
299
299
cutest_usertest_body_##fixture##_##test();\
@@ -339,7 +339,7 @@ extern "C" {
339
339
*/
340
340
#define TEST (fixture , test ) \
341
341
TEST_C_API void cutest_usertest_body_##fixture##_##test(void);\
342
- TEST_C_API static void s_cutest_proxy_##fixture##_##test(void* _test_parameterized_data,\
342
+ static void s_cutest_proxy_##fixture##_##test(void* _test_parameterized_data,\
343
343
unsigned long _test_parameterized_idx) {\
344
344
TEST_PARAMETERIZED_SUPPRESS_UNUSED;\
345
345
cutest_usertest_body_##fixture##_##test();\
0 commit comments