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
     1.1 --- a/src/cx/test.h	Sat Dec 30 14:58:06 2023 +0100
     1.2 +++ b/src/cx/test.h	Sat Dec 30 15:21:16 2023 +0100
     1.3 @@ -299,7 +299,7 @@
     1.4   * @see CX_TEST_CALL_SUBROUTINE()
     1.5   */
     1.6  #define CX_TEST_SUBROUTINE(name,...) void name(CxTestSuite* _suite_,\
     1.7 -        void *_output_, jmp_buf _env_, __VA_ARGS__)
     1.8 +        void *_output_, cx_write_func _writefnc_, jmp_buf _env_, __VA_ARGS__)
     1.9  
    1.10  /**
    1.11   * Macro for calling a test subroutine.
    1.12 @@ -315,7 +315,7 @@
    1.13   * @see CX_TEST_SUBROUTINE()
    1.14   */
    1.15  #define CX_TEST_CALL_SUBROUTINE(name,...) \
    1.16 -        name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__);
    1.17 +        name(_suite_,_output_,_writefnc_,_env_,__VA_ARGS__)
    1.18  
    1.19  #ifdef	__cplusplus
    1.20  }

mercurial