297 * @param ... the parameter list |
297 * @param ... the parameter list |
298 * |
298 * |
299 * @see CX_TEST_CALL_SUBROUTINE() |
299 * @see CX_TEST_CALL_SUBROUTINE() |
300 */ |
300 */ |
301 #define CX_TEST_SUBROUTINE(name,...) void name(CxTestSuite* _suite_,\ |
301 #define CX_TEST_SUBROUTINE(name,...) void name(CxTestSuite* _suite_,\ |
302 void *_output_, jmp_buf _env_, __VA_ARGS__) |
302 void *_output_, cx_write_func _writefnc_, jmp_buf _env_, __VA_ARGS__) |
303 |
303 |
304 /** |
304 /** |
305 * Macro for calling a test subroutine. |
305 * Macro for calling a test subroutine. |
306 * |
306 * |
307 * Subroutines declared with CX_TEST_SUBROUTINE() can be called by using this |
307 * Subroutines declared with CX_TEST_SUBROUTINE() can be called by using this |
313 * @param ... the argument list |
313 * @param ... the argument list |
314 * |
314 * |
315 * @see CX_TEST_SUBROUTINE() |
315 * @see CX_TEST_SUBROUTINE() |
316 */ |
316 */ |
317 #define CX_TEST_CALL_SUBROUTINE(name,...) \ |
317 #define CX_TEST_CALL_SUBROUTINE(name,...) \ |
318 name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__); |
318 name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__) |
319 |
319 |
320 #ifdef __cplusplus |
320 #ifdef __cplusplus |
321 } |
321 } |
322 #endif |
322 #endif |
323 |
323 |