MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getDynamicLibraryAbsolutePath

Method getDynamicLibraryAbsolutePath

Libraries/Plugin/Plugin.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76SC::Result SC::PluginDefinition::getDynamicLibraryAbsolutePath(StringPath& fullDynamicPath) const
77{
78 SC_TRY(PluginString::join(fullDynamicPath, {directory.view(), identity.identifier.view()}));
79#if SC_PLATFORM_WINDOWS
80 SC_TRY(fullDynamicPath.append(".dll"));
81#elif SC_PLATFORM_APPLE
82 SC_TRY(fullDynamicPath.append(".dylib"));
83#else
84 SC_TRY(fullDynamicPath.append(".so"));
85#endif
86 return Result(true);
87}
88
89SC::Result SC::PluginDefinition::getDynamicLibraryPDBAbsolutePath(StringPath& fullDynamicPath) const
90{

Callers 2

linkMethod · 0.80
loadMethod · 0.80

Calls 4

joinFunction · 0.50
ResultClass · 0.50
viewMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected