Moved cr_translate_assert_msg out of the public API
This commit is contained in:
parent
d25ea68eb1
commit
5101a514a3
2 changed files with 6 additions and 6 deletions
|
@ -30,12 +30,6 @@
|
|||
|
||||
# include "internal/assert.h"
|
||||
|
||||
CR_BEGIN_C_API
|
||||
|
||||
CR_API char *cr_translate_assert_msg(int msg_index, ...);
|
||||
|
||||
CR_END_C_API
|
||||
|
||||
// Base assertions
|
||||
|
||||
# define cr_assert_fail(...) CR_EXPAND(cr_fail(CR_FAIL_ABORT_, __VA_ARGS__))
|
||||
|
|
|
@ -70,6 +70,12 @@ enum criterion_assert_messages {
|
|||
CRITERION_ASSERT_MSG_NONE_THROW,
|
||||
};
|
||||
|
||||
CR_BEGIN_C_API
|
||||
|
||||
CR_API char *cr_translate_assert_msg(int msg_index, ...);
|
||||
|
||||
CR_END_C_API
|
||||
|
||||
# define CR_GET_CONDITION(Condition, ...) Condition
|
||||
# define CR_GET_CONDITION_STR(Condition, ...) #Condition
|
||||
# define CR_VA_SKIP(_, ...) __VA_ARGS__
|
||||
|
|
Loading…
Add table
Reference in a new issue