1
0
This commit is contained in:
2026-01-08 20:25:33 +08:00
parent 886e0caab2
commit 55ed60c643
7 changed files with 50 additions and 55 deletions

View File

@@ -77,7 +77,7 @@ namespace basalt::presenter::dll_loader {
}
}
void *DllLoader::GetFunctionPointer(const char *name) {
void *DllLoader::get_function_pointer(const char *name) {
if (!m_Handle) throw std::runtime_error("Can not fetch function pointer on not loaded dynamic library.");
#if defined(BASALT_OS_WINDOWS)
return (void *) GetProcAddress(m_Handle, name);