diff --git a/ev_str.h b/ev_str.h index 1394c07..057abcf 100644 --- a/ev_str.h +++ b/ev_str.h @@ -10,6 +10,8 @@ #include #include +#define EV_STR_evstring_MAGIC (0x65767374) + #ifdef EV_STR_SHARED #if defined (EV_STR_IMPL) #define EV_STR_API EV_EXPORT @@ -203,8 +205,6 @@ evstring_findLastChar( #define META(s) (((struct evstr_meta_t *)(s)) - 1) -#define EV_STR_evstring_MAGIC (0x65767374) - #if EV_BUILDTYPE_DEBUG || EV_BUILDTYPE_DEBUGOPT #define evstr_asserttype(str) \ assert(META(str)->magic == EV_STR_evstring_MAGIC)