20inline constexpr std::string_view
ServerFile =
"server.dll";
22inline constexpr std::string_view
ServerFile =
"libserver.so";
28void*
OpenModule(
const std::filesystem::path& path);
VOLTMOD_EXPORT void * CreateInterface(const char *name, int *returnCode)
constexpr std::string_view HostFile
static std::string LastError()
constexpr std::string_view PlatformDir
static std::string ReadFile(const std::filesystem::path &path)
void *(*)(const char *name, int *returnCode) InterfaceFactory
std::filesystem::path OwnPath()
InterfaceFactory FactoryAt(const void *address)
void * OpenModule(const std::filesystem::path &path)
static void * FindExport(void *handle, const char *name)
constexpr std::string_view ServerFile