Moved cr_translate_assert_msg out of the public API

This commit is contained in:
Snaipe 2015-11-27 15:42:05 +01:00
parent d25ea68eb1
commit 5101a514a3
2 changed files with 6 additions and 6 deletions

View file

@ -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__))

View file

@ -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__