MCPcopy Create free account
hub / github.com/bwapi/bwapi / StrTerminate

Function StrTerminate

bwapi/BWAPIClient/Source/Convenience.h:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13template <size_t N>
14inline void StrTerminate(char (&str)[N])
15{
16 str[N-1] = '\0';
17};
18
19template <size_t N>
20inline void StrCopy(char (&dst)[N], const char *src)

Callers 2

StrCopyFunction · 0.70
VSNPrintfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected