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

Method GetPlatformError

core/logic/LibrarySys.cpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void LibrarySystem::GetPlatformError(char *error, size_t maxlength)
206{
207#if defined PLATFORM_WINDOWS
208 return GetPlatformErrorEx(GetLastError(), error, maxlength);
209#elif defined PLATFORM_POSIX
210 return GetPlatformErrorEx(errno, error, maxlength);
211#endif
212}
213
214void LibrarySystem::GetPlatformErrorEx(int code, char *error, size_t maxlength)
215{

Callers 3

ParseSMCFileMethod · 0.80
_LogFatalOpenMethod · 0.80
LoadPluginsFromDirMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected