diff --git a/src/c/ts3FunctionsWrapper.h b/src/c/ts3FunctionsWrapper.h index bf9ab75..11bc91b 100644 --- a/src/c/ts3FunctionsWrapper.h +++ b/src/c/ts3FunctionsWrapper.h @@ -1,6 +1,6 @@ #ifndef TS3FUNCTIONWRAPPER_H #define TS3FUNCTIONWRAPPER_H -void Ts3FncPrintMessage(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget); +extern void Ts3FncPrintMessage(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget); #endif diff --git a/src/go/tsgo_export.go b/src/go/tsgo_export.go index 988507a..99959fc 100644 --- a/src/go/tsgo_export.go +++ b/src/go/tsgo_export.go @@ -9,7 +9,7 @@ package main // #include "teamspeak/public_rare_definitions.h" // #include "teamspeak/clientlib_publicdefinitions.h" // #include "plugin_definitions.h" -// extern void Ts3FncPrintMessage(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget); +// #include "ts3FunctionsWrapper.h" import "C" import ( tsgo "./tsgo"