From 5c330068e75946286e8e0d3dc0bd381e419074a9 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Wed, 4 Jan 2023 15:16:36 +0100 Subject: Namespaces for API --- file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.h') diff --git a/file.h b/file.h index 37653cb..9ca846e 100644 --- a/file.h +++ b/file.h @@ -7,11 +7,11 @@ #define EXPORT __attribute__((visibility("default"))) -namespace File { +namespace Reichwein::File { EXPORT std::string getFile(const std::filesystem::path& filename); EXPORT void setFile(const std::filesystem::path& filename, const std::string& s); EXPORT void setFile(const std::filesystem::path& filename, const char* data, size_t size); EXPORT void setFile(const std::filesystem::path& filename, const std::vector& data); -} +} // namespace -- cgit v1.2.3