11 lines
368 B
C++
11 lines
368 B
C++
#pragma once
|
|
|
|
namespace voidlibc::detail {
|
|
|
|
// Load a .vlc file and return a native OS handle (dlopen handle on Linux/macOS,
|
|
// HMODULE on Windows). Returns nullptr on failure; call dlerror() for the reason.
|
|
// allow_exec=true is required to load .vle executables (voidloader only).
|
|
void* load_vlc(const char* path, bool allow_exec);
|
|
|
|
} // namespace voidlibc::detail
|