17inline constexpr std::string_view
PlatformDir = VOLTMOD_BIN_DIR;
18inline constexpr std::string_view
HostFile = VOLTMOD_HOST_FILE;
20inline constexpr std::string_view
ServerFile =
"server.dll";
22inline constexpr std::string_view
ServerFile =
"libserver.so";
28void*
OpenModule(
const std::filesystem::path& path);
29void*
FindExport(
void* module,
const char* name);
VOLTMOD_EXPORT void * CreateInterface(const char *name, int *returnCode)
constexpr std::string_view HostFile
void *(*)(const char *name, int *returnCode) InterfaceFactory
static std::string LastError()
constexpr std::string_view PlatformDir
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