17 lines
395 B
C
17 lines
395 B
C
|
// 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))
|
||
|
|
||
|
// Extern Functions ----------------------------------------------------------|
|
||
|
|
||
|
char *M_StrFmt(char const *fmt, ...);
|
||
|
mword M_StrHash(char const *s);
|
||
|
__str M_StrCreate(char const *s);
|
||
|
char *M_StrDup(char const *s);
|
||
|
|
||
|
#endif
|