Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
template <size_t N>
14
inline void StrTerminate(char (&str)[N])
15
{
16
str[N-1] =
'\0'
;
17
};
18
19
template <size_t N>
20
inline void StrCopy(char (&dst)[N], const char *src)
Callers
2
StrCopy
Function · 0.70
VSNPrintf
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected