StormByte C++ Library: Network module
1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
Loading...
Searching...
No Matches
lib
public
StormByte
network
visibility.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024-2026 David C. Manuelda (StormBytePP)
3
*
4
* This file is part of StormByte-Network.
5
*
6
* StormByte-Network is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Lesser General Public License version 3
8
* or later, as published by the Free Software Foundation.
9
*
10
* StormByte-Network is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with StormByte-Network. If not, see
17
* <https://www.gnu.org/licenses/lgpl-3.0.html>.
18
*/
19
20
#pragma once
21
22
#include <StormByte/platform.h>
23
24
#ifdef WINDOWS
25
#ifdef StormByte_Network_EXPORTS
26
#define STORMBYTE_NETWORK_PUBLIC __declspec(dllexport)
27
#else
28
#define STORMBYTE_NETWORK_PUBLIC __declspec(dllimport)
29
#endif
30
#define STORMBYTE_NETWORK_PRIVATE
31
#else
32
#define STORMBYTE_NETWORK_PUBLIC __attribute__ ((visibility ("default")))
33
#define STORMBYTE_NETWORK_PRIVATE __attribute__ ((visibility ("hidden")))
34
#endif
Generated by
1.9.8