aboutsummaryrefslogtreecommitdiffstats
path: root/lib/defs.h
blob: e962db732f9e7403d418ef602735794d90b8556a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* PipeWire AGL Cluster IPC
 *
 * Copyright © 2021 Collabora Ltd.
 *    @author Julian Bouzas <julian.bouzas@collabora.com>
 *
 * SPDX-License-Identifier: MIT
 */

#ifndef __ICIPC_DEFS_H__
#define __ICIPC_DEFS_H__

#if defined(__GNUC__)
# define ICIPC_API_EXPORT extern __attribute__ ((visibility ("default")))
#else
# define ICIPC_API_EXPORT extern
#endif

#ifndef ICIPC_API
#  define ICIPC_API ICIPC_API_EXPORT
#endif

#ifndef ICIPC_PRIVATE_API
#  define ICIPC_PRIVATE_API __attribute__ ((deprecated ("Private API")))
#endif

#endif