Cobbletext
0.2.0
Complex text layout and rendering engine
cobbletext
macros.h
Go to the documentation of this file.
1
#pragma once
2
8
#if defined(_WIN32) && !defined(COBBLETEXT_STATIC)
9
#ifdef cobbletext_EXPORTS
10
#define COBBLETEXT_API __declspec(dllexport)
11
#else
12
#define COBBLETEXT_API __declspec(dllimport)
13
#endif
14
#elif defined(__EMSCRIPTEN__) && defined(COBBLETEXT_ENABLE_EM_API)
15
#include <emscripten.h>
16
#define COBBLETEXT_API EMSCRIPTEN_KEEPALIVE
17
#else
18
#define COBBLETEXT_API
19
#endif
20
26
#if defined(_WIN32) && defined(COBBLETEXT_ENABLE_CPP_API) && !defined(COBBLETEXT_STATIC)
27
#ifdef cobbletext_EXPORTS
28
#define COBBLETEXT_CPP_API __declspec(dllexport)
29
#else
30
#define COBBLETEXT_CPP_API __declspec(dllimport)
31
#endif
32
#else
33
#define COBBLETEXT_CPP_API
34
#endif
Generated by
1.8.17