summaryrefslogtreecommitdiffhomepage
path: root/file.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-04 15:16:36 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-04 15:16:36 +0100
commit5c330068e75946286e8e0d3dc0bd381e419074a9 (patch)
tree597a180b2b623e70af18bd80e380b2ce650b27d8 /file.h
parent17d2d6e657cb25260ed9cc329678ecf227191978 (diff)
Namespaces for API
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
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<uint8_t>& data);
-}
+} // namespace