// Copyright © 2017 Project Golan, all rights reserved. #ifndef m_str_h #define m_str_h #include "m_types.h" #define M_strbufcpy(a, b) (strncpy((a), (b), M_countof(a))) #define M_membufcmp(a, b) (memcmp ((a), (b), M_countof(b))) // Extern Functions ----------------------------------------------------------| char *M_StrFmt(char const *fmt, ...); mword M_StrHash(char const *s); #if __GDCC__ __str M_StrCreate(char const *s); #endif #endif