MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / IsPathSepChar

Function IsPathSepChar

core/CoreConfig.cpp:312–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312inline bool IsPathSepChar(char c)
313{
314#if defined PLATFORM_WINDOWS
315 return (c == '\\' || c == '/');
316#elif defined PLATFORM_LINUX || defined PLATFORM_POSIX
317 return (c == '/');
318#endif
319}
320
321void SM_ParseConfig(FILE *fp, ke::HashMap<std::string, std::string, StringPolicy> &cvars_list)
322{

Callers 1

SM_ExecuteConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected