Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/InputLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

namespace InputLoader {

DLLDIR void Add(RED4ext::PluginHandle aHandle, const wchar_t * str);
extern "C" DLLDIR void Add(RED4ext::PluginHandle aHandle, const wchar_t * str);

}
}
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pugi::xml_document inputUserMappingsOriginal;

static std::vector<std::filesystem::path> document_paths;

void Add(RED4ext::PluginHandle aHandle, const wchar_t * str) {
RED4EXT_C_EXPORT void Add(RED4ext::PluginHandle aHandle, const wchar_t * str) {
std::filesystem::path path(str);
if (path.is_relative()) {
char dllFilePath[513] = {0};
Expand Down