moved the extern keyword into header

This commit is contained in:
Niklas 2020-09-05 00:03:29 +02:00
parent 595946a4a2
commit 9b931b0a98
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#ifndef TS3FUNCTIONWRAPPER_H #ifndef TS3FUNCTIONWRAPPER_H
#define 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 #endif

View File

@ -9,7 +9,7 @@ package main
// #include "teamspeak/public_rare_definitions.h" // #include "teamspeak/public_rare_definitions.h"
// #include "teamspeak/clientlib_publicdefinitions.h" // #include "teamspeak/clientlib_publicdefinitions.h"
// #include "plugin_definitions.h" // #include "plugin_definitions.h"
// extern void Ts3FncPrintMessage(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget); // #include "ts3FunctionsWrapper.h"
import "C" import "C"
import ( import (
tsgo "./tsgo" tsgo "./tsgo"