zookeeper-cpp
ZooKeeper Client for C++
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
config.hpp
1 #pragma once
2 
10 #ifdef ZKPP_USER_CONFIG
11 # include ZKPP_USER_CONFIG
12 #endif
13 
14 #define ZKPP_VERSION_MAJOR 0
15 #define ZKPP_VERSION_MINOR 1
16 #define ZKPP_VERSION_PATCH 1
17 
26 #ifndef ZKPP_DEBUG
27 # define ZKPP_DEBUG 0
28 #endif
29 
33 #ifndef ZKPP_SO
34 # define ZKPP_SO 1
35 #endif
36 
48 #if ZKPP_SO
49 # if defined(__GNUC__)
50 # define ZKPP_EXPORT __attribute__((visibility("default")))
51 # define ZKPP_IMPORT
52 # define ZKPP_HIDDEN __attribute__((visibility("hidden")))
53 # else
54 # error "Unknown shared object semantics for this compiler."
55 # endif
56 #else
57 # define ZKPP_EXPORT
58 # define ZKPP_IMPORT
59 # define ZKPP_HIDDEN
60 #endif
61 
64 namespace zk
65 {
66 
74 template <typename T>
75 using ptr = T*;
76 
79 }
T * ptr
A simple, unowned pointer.
Definition: config.hpp:75