We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0401f8e commit 5b6e631Copy full SHA for 5b6e631
code/logic/fossil/test/testing.h
@@ -362,8 +362,13 @@ void fossil_test_print_stack_trace(stack_frame_t *stack_trace);
362
*
363
* @param name The name of the test group.
364
*/
365
+#ifdef __cplusplus
366
+#define _FOSSIL_TEST_GROUP(name) \
367
+ extern "C" void name##_test_group(fossil_test_env_t *_env)
368
+#else
369
#define _FOSSIL_TEST_GROUP(name) \
370
void name##_test_group(fossil_test_env_t *_env)
371
+#endif
372
373
/**
374
* @brief Macro to export a test group.
0 commit comments