 |
MapLibre Native Core
|
Go to the documentation of this file.
6 #define MBGL_STORE_THREAD(tid) const std::thread::id tid = std::this_thread::get_id();
7 #define MBGL_VERIFY_THREAD(tid) assert(tid == std::this_thread::get_id());
11 #define MBGL_STORE_THREAD(tid)
12 #define MBGL_VERIFY_THREAD(tid)
17 #if !defined(__GNUC__) || __GNUC__ >= 5
18 #define MBGL_CONSTEXPR constexpr
20 #define MBGL_CONSTEXPR inline
28 #ifdef MBGL_BUILDING_LIB
30 #define MBGL_EXPORT __attribute__((dllexport))
32 #define MBGL_EXPORT __declspec(dllexport)
36 #define MBGL_EXPORT __attribute__((dllimport))
38 #define MBGL_EXPORT __declspec(dllimport)
42 #define MBGL_EXPORT __attribute__((visibility ("default")))