fix broken CX_TEST_SUBROUTINE - relates to #341

Sat, 30 Dec 2023 15:21:16 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 30 Dec 2023 15:21:16 +0100
changeset 784
ba5faf85dec6
parent 783
7ca8cf155489
child 785
bb18daa62d5f

fix broken CX_TEST_SUBROUTINE - relates to #341

src/cx/test.h file | annotate | diff | comparison | revisions
--- a/src/cx/test.h	Sat Dec 30 14:58:06 2023 +0100
+++ b/src/cx/test.h	Sat Dec 30 15:21:16 2023 +0100
@@ -299,7 +299,7 @@
  * @see CX_TEST_CALL_SUBROUTINE()
  */
 #define CX_TEST_SUBROUTINE(name,...) void name(CxTestSuite* _suite_,\
-        void *_output_, jmp_buf _env_, __VA_ARGS__)
+        void *_output_, cx_write_func _writefnc_, jmp_buf _env_, __VA_ARGS__)
 
 /**
  * Macro for calling a test subroutine.
@@ -315,7 +315,7 @@
  * @see CX_TEST_SUBROUTINE()
  */
 #define CX_TEST_CALL_SUBROUTINE(name,...) \
-        name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__);
+        name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__)
 
 #ifdef	__cplusplus
 }

mercurial