reverted unwanted changes

This commit is contained in:
hyung-hwan 2018-06-25 10:51:24 +00:00
parent 26e27e78cd
commit bdf1ab2234
2 changed files with 4 additions and 4 deletions

View File

@ -341,16 +341,16 @@
#else #else
# define QSE_ASSERT(expr) (void)((expr) || \ # define QSE_ASSERT(expr) (void)((expr) || \
(QSE_ASSERT_failed (QSE_T(#expr), QSE_NULL, QSE_T(__FILE__), __LINE__), 0)) (qse_assert_failed (QSE_T(#expr), QSE_NULL, QSE_T(__FILE__), __LINE__), 0))
# define QSE_ASSERTX(expr,desc) (void)((expr) || \ # define QSE_ASSERTX(expr,desc) (void)((expr) || \
(QSE_ASSERT_failed (QSE_T(#expr), QSE_T(desc), QSE_T(__FILE__), __LINE__), 0)) (qse_assert_failed (QSE_T(#expr), QSE_T(desc), QSE_T(__FILE__), __LINE__), 0))
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
QSE_EXPORT void QSE_ASSERT_failed ( QSE_EXPORT void qse_assert_failed (
const qse_char_t* expr, const qse_char_t* desc, const qse_char_t* expr, const qse_char_t* desc,
const qse_char_t* file, qse_size_t line); const qse_char_t* file, qse_size_t line);
#if defined(__cplusplus) #if defined(__cplusplus)

View File

@ -55,7 +55,7 @@
# include "syscall.h" # include "syscall.h"
#endif #endif
void QSE_ASSERT_failed ( void qse_assert_failed (
const qse_char_t* expr, const qse_char_t* desc, const qse_char_t* expr, const qse_char_t* desc,
const qse_char_t* file, qse_size_t line) const qse_char_t* file, qse_size_t line)
{ {