MCPcopy Create free account
hub / github.com/ZDoom/Raze / IsSeperator

Function IsSeperator

source/common/utility/cmdlib.cpp:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70//==========================================================================
71
72static inline bool IsSeperator (int c, bool forcebackslash = false)
73{
74 if (c == '/')
75 return true;
76#ifdef _WIN32
77 if (c == '\\')
78 return true;
79#else
80 if (forcebackslash && c == '\\')
81 return true;
82#endif
83 return false;
84}
85
86//==========================================================================
87//

Callers 5

DefaultExtensionFunction · 0.85
ExtractFilePathFunction · 0.85
ExtractFileBaseFunction · 0.85
StripExtensionFunction · 0.85
IsAbsPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected