From 9b931b0a983aeddf31413c07c52ca348d10a3de0 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 5 Sep 2020 00:03:29 +0200 Subject: [PATCH] moved the extern keyword into header --- src/c/ts3FunctionsWrapper.h | 2 +- src/go/tsgo_export.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"