Added getExecutablePath(). Still need to check if the Windows version works, but who cares?

This commit is contained in:
2025-01-19 21:24:38 +01:00
parent 75398b89d5
commit 461d3ec694
2 changed files with 32 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ public:
bool closeSharedLibrary(const LibraryHandle library) MIJIN_NOEXCEPT;
[[nodiscard]] void* loadSymbolFromLibrary(const LibraryHandle library, const char* symbolName) MIJIN_NOEXCEPT;
void setCurrentThreadName(const char* threadName) MIJIN_NOEXCEPT;
[[nodiscard]] std::string getExecutablePath() MIJIN_NOEXCEPT;
[[nodiscard]] std::string makeLibraryFilename(std::string_view libraryName) MIJIN_NOEXCEPT;