summaryrefslogtreecommitdiffhomepage
path: root/stringutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'stringutil.h')
-rw-r--r--stringutil.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/stringutil.h b/stringutil.h
index 5110e2e..6cd74aa 100644
--- a/stringutil.h
+++ b/stringutil.h
@@ -3,8 +3,9 @@
#include <string>
#include <vector>
-std::string strfmt(const char* fmt, ...);
+#define EXPORT __attribute__((visibility("default")))
-std::vector<std::string> split(std::string value, const std::string separators = "\r\n ");
-std::string join(std::vector<std::string> vs, std::string separator = "\n");
-bool startsWithAnyOfLower(const std::string &s, const std::vector<std::string> &list);
+EXPORT std::string strfmt(const char* fmt, ...);
+EXPORT std::vector<std::string> split(std::string value, const std::string separators = "\r\n ");
+EXPORT std::string join(std::vector<std::string> vs, std::string separator = "\n");
+EXPORT bool startsWithAnyOfLower(const std::string &s, const std::vector<std::string> &list);