diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-04 15:16:36 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-04 15:16:36 +0100 |
commit | 5c330068e75946286e8e0d3dc0bd381e419074a9 (patch) | |
tree | 597a180b2b623e70af18bd80e380b2ce650b27d8 /file.h | |
parent | 17d2d6e657cb25260ed9cc329678ecf227191978 (diff) |
Namespaces for API
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |