Browse Source

Removed "export" statement from osc handler function, never was meant to be there.

tags/0.1
Ludwig Frühschütz 3 years ago
parent
commit
8a76159703
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      OSC2AHK/dllmain.cpp
  2. +1
    -1
      OSC2AHK/dllmain.h

+ 1
- 1
OSC2AHK/dllmain.cpp View File

@ -160,7 +160,7 @@ bool isMatchingOscType(unsigned int msgType, unsigned int listenerTypeField)
return (listenerTypeField & msgType); return (listenerTypeField & msgType);
} }
DLLEXPORT int handleOscMsg(const osc::ReceivedMessage& m)
int handleOscMsg(const osc::ReceivedMessage& m)
{ {
int ret = 0; int ret = 0;
unsigned int msgType = 0; unsigned int msgType = 0;


+ 1
- 1
OSC2AHK/dllmain.h View File

@ -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 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 addListener(LPCSTR address, unsigned int messageID, unsigned int dataType = OSC_TYPE_ALL);
extern "C" DLLEXPORT int removeListener(LPCSTR address); 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); extern "C" DLLEXPORT int testMsg(HWND windowHandle, unsigned int messageID);
int handleOscMsg(const osc::ReceivedMessage& m);
bool isMatchingOscType(unsigned int msgType, unsigned int listenerTypeField); bool isMatchingOscType(unsigned int msgType, unsigned int listenerTypeField);
unsigned int getOscType(osc::ReceivedMessage::const_iterator arg); unsigned int getOscType(osc::ReceivedMessage::const_iterator arg);

Loading…
Cancel
Save