diff --git a/OSC2AHK/dllmain.cpp b/OSC2AHK/dllmain.cpp index 3e14314..275b896 100644 --- a/OSC2AHK/dllmain.cpp +++ b/OSC2AHK/dllmain.cpp @@ -160,7 +160,7 @@ bool isMatchingOscType(unsigned int msgType, unsigned int listenerTypeField) return (listenerTypeField & msgType); } -DLLEXPORT int handleOscMsg(const osc::ReceivedMessage& m) +int handleOscMsg(const osc::ReceivedMessage& m) { int ret = 0; unsigned int msgType = 0; diff --git a/OSC2AHK/dllmain.h b/OSC2AHK/dllmain.h index 32bc801..1e48512 100644 --- a/OSC2AHK/dllmain.h +++ b/OSC2AHK/dllmain.h @@ -23,7 +23,7 @@ extern "C" DLLEXPORT int open(HWND targetWindowHandle, unsigned int port); extern "C" DLLEXPORT int close(unsigned int clearListeners = 1); extern "C" DLLEXPORT int addListener(LPCSTR address, unsigned int messageID, unsigned int dataType = OSC_TYPE_ALL); extern "C" DLLEXPORT int removeListener(LPCSTR address); -extern "C" DLLEXPORT int handleOscMsg(const osc::ReceivedMessage & m); extern "C" DLLEXPORT int testMsg(HWND windowHandle, unsigned int messageID); +int handleOscMsg(const osc::ReceivedMessage& m); bool isMatchingOscType(unsigned int msgType, unsigned int listenerTypeField); unsigned int getOscType(osc::ReceivedMessage::const_iterator arg);