18 #ifndef CUPT_COMMON_SEEN
19 #define CUPT_COMMON_SEEN
22 #define CUPT_API __attribute__ ((visibility("default")))
23 #define CUPT_LOCAL __attribute__ ((visibility("hidden")))
55 : std::runtime_error(message)
62 : std::runtime_error(message)
68 using std::shared_ptr;
69 using std::static_pointer_cast;
70 using std::dynamic_pointer_cast;
71 using std::unique_ptr;
78 CUPT_API
extern int messageFd;
81 CUPT_API
string join(
const string& joiner,
const vector< string >& parts);
82 CUPT_API
string humanReadableSizeString(uint64_t bytes);
83 CUPT_API
string globToRegexString(
const string&);
91 CUPT_API
const char* __(
const char* message);
95 #include <cupt/format2.hpp>