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

Function IsPathSepChar

extensions/sqlite/driver/SqDriver.cpp:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170inline bool IsPathSepChar(char c)
171{
172#if defined PLATFORM_WINDOWS
173 return (c == '\\' || c == '/');
174#elif defined PLATFORM_LINUX || defined PLATFORM_APPLE
175 return (c == '/');
176#endif
177}
178
179IDatabase *SqDriver::Connect(const DatabaseInfo *info, bool persistent, char *error, size_t maxlength)
180{

Callers 1

ConnectMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected