From 61b283f2e9a8343267ffd0280bacc1369075b763 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 13 Jul 2020 22:08:04 +0200 Subject: weechat: Proper namespacing of symbols Symbol clash in dynamic libraries is a thing. --- weechat/net.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'weechat/net.h') diff --git a/weechat/net.h b/weechat/net.h index 7f4e9da..63636e7 100644 --- a/weechat/net.h +++ b/weechat/net.h @@ -4,6 +4,12 @@ #include "global.h" +#define net_set_push_callback tomsg__net_set_push_callback +#define net_set_history_callback tomsg__net_set_history_callback +#define net_sendf tomsg__net_sendf +#define net_handle_recv tomsg__net_handle_recv + + enum net_response_type{ NET_OK, // - NET_NUMBER, // number -- cgit v1.2.3-54-g00ecf