fix bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user