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

Method getDynamicLibraryPDBAbsolutePath

Libraries/Plugin/Plugin.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89SC::Result SC::PluginDefinition::getDynamicLibraryPDBAbsolutePath(StringPath& fullDynamicPath) const
90{
91 SC_TRY(PluginString::join(fullDynamicPath, {directory.view(), identity.identifier.view()}));
92#if SC_PLATFORM_WINDOWS
93 SC_TRY(fullDynamicPath.append(".pdb"));
94#elif SC_PLATFORM_APPLE
95 SC_TRY(fullDynamicPath.append(".dSYM"));
96#else
97 SC_TRY(fullDynamicPath.append(".sym"));
98#endif
99 return Result(true);
100}
101
102bool SC::PluginDefinition::parse(StringSpan text, PluginDefinition& pluginDefinition)
103{

Callers 1

unloadMethod · 0.80

Calls 4

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

Tested by

no test coverage detected