Debian Codegraph @

crt/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h

raw symbols SCIP
1 #ifndef AWS_EVENT_STREAM_EXPORTS_H_
2 #define AWS_EVENT_STREAM_EXPORTS_H_
3 /**
4 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: Apache-2.0.
6 */
7 #if defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined(_WIN32)
8 # ifdef AWS_EVENT_STREAM_USE_IMPORT_EXPORT
9 # ifdef AWS_EVENT_STREAM_EXPORTS
10 # define AWS_EVENT_STREAM_API __declspec(dllexport)
11 # else
12 # define AWS_EVENT_STREAM_API __declspec(dllimport)
13 # endif /* AWS_EVENT_STREAM_EXPORTS */
14 # else
15 # define AWS_EVENT_STREAM_API
16 # endif /* AWS_EVENT_STREAM_USE_IMPORT_EXPORT */
17
18 #else /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
19
20 # if defined(AWS_EVENT_STREAM_USE_IMPORT_EXPORT) && defined(AWS_EVENT_STREAM_EXPORTS)
21 # define AWS_EVENT_STREAM_API __attribute__((visibility("default")))
22 # else
23 # define AWS_EVENT_STREAM_API
24 # endif
25
26 #endif /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
27
28 #endif /* AWS_EVENT_STREAM_EXPORTS_H */