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

Method OpenLibrary

core/logic/LibrarySys.cpp:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246ILibrary *LibrarySystem::OpenLibrary(const char *path, char *error, size_t maxlength)
247{
248 ke::RefPtr<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength);
249 if (!lib)
250 return nullptr;
251 return new CLibrary(lib);
252}
253
254size_t LibrarySystem::PathFormat(char *buffer, size_t len, const char *fmt, ...)
255{

Callers 1

LoadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected