forked from UrbanLienert/blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocks.h
More file actions
23 lines (18 loc) · 678 Bytes
/
Copy pathblocks.h
File metadata and controls
23 lines (18 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// blocks.hpp
// Blocks
//
// Created by Urban Lienert on 02.02.20.
// Copyright © 2020 Urban Lienert. All rights reserved.
//
// define attributes for explicit export of symbols:
#if defined MSW // when compiling for Windows
#define EXPORT __declspec(dllexport)
#elif __GNUC__ >= 4 // else, when compiling with GCC 4.0 or higher
#define EXPORT __attribute__((visibility("default")))
#endif
#ifndef EXPORT
#define EXPORT // empty definition for other cases
#endif
// declaration of exported function:
extern "C" EXPORT void blocks_setup(void);