Skip to content

Commit

Permalink
Increased build number
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Jan 31, 2023
1 parent 7359af6 commit faea79b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions src/xdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@
#define XSTDUSR 2
#endif

#define _XUTILS_DEBUG

#define XCLR_RED "\x1B[31m"
#define XCLR_RES "\x1B[0m"

Expand All @@ -92,15 +90,15 @@
XCLR_RED, XCLR_RES, \
__FILE__, \
__FUNCTION__, \
__XLOCATION__); \
__XLOCATION__)

#define XASSERT_RET(condition, value) \
if (!condition) return value

#define XASSERT_LOG(condition, value) \
do { \
if (!condition) { \
XTROW_LOCATION \
XTROW_LOCATION; \
return value; \
} \
} \
Expand All @@ -112,7 +110,7 @@
#define XASSERT_VOID_LOG(condition) \
do { \
if (!condition) { \
XTROW_LOCATION \
XTROW_LOCATION; \
return; \
} \
} \
Expand All @@ -130,7 +128,7 @@
#define XASSERT_FREE_LOG(condition, var, value) \
do { \
if (!condition) { \
XTROW_LOCATION \
XTROW_LOCATION; \
free(var); \
return value; \
} \
Expand All @@ -143,7 +141,7 @@
# define XASSERT_FREE XASSERT_FREE_LOG
#else
# define XASSERT XASSERT_RET
# define XASSERT_VIOD XASSERT_VOID_RET
# define XASSERT_VOID XASSERT_VOID_RET
# define XASSERT_FREE XASSERT_FREE_RET
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/xver.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#define XUTILS_VERSION_MAX 2
#define XUTILS_VERSION_MIN 4
#define XUTILS_BUILD_NUMBER 44
#define XUTILS_BUILD_NUMBER 45

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit faea79b

Please sign in to comment.