MCPcopy Create free account
hub / github.com/audacity/audacity / GetLibraryPath

Function GetLibraryPath

libraries/lib-files/PathList.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace
26{
27wxString GetLibraryPath()
28{
29 Dl_info info;
30 // This is a GNU extension, but it's also supported on FreeBSD, OpenBSD, macOS and Solaris.
31 if (dladdr(reinterpret_cast<const void*>(GetLibraryPath), &info))
32 return info.dli_fname;
33 return {};
34}
35}
36#endif
37

Callers 2

InitializePathListMethod · 0.85
FindDialogClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected