MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / getModuleExtension

Method getModuleExtension

src/world/Script/ScriptLoader.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace fs = std::filesystem;
11
12const std::string Sapphire::Scripting::ScriptLoader::getModuleExtension()
13{
14#ifdef _WIN32
15 return ".dll";
16#elif __APPLE__
17 return ".dylib";
18#else
19 return ".so";
20#endif
21}
22
23bool Sapphire::Scripting::ScriptLoader::unloadModule( ModuleHandle handle )
24{

Callers 2

initMethod · 0.45
watchDirectoriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected