]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/utils.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / io / utils.h
index f73383d94ba9dc29b78d17aaa0c2a1e4912afec7..4507f5c8046ca7e35b6a35a14dd990834b4fefc0 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_IO_UTILS_H_
 
 #include <cstddef>
+#include <msp/core/mspcore_api.h>
 
 namespace Msp {
 namespace IO {
@@ -14,7 +15,7 @@ data is read, regardless of the blocking mode of the object.
 Note: If the data is not immediately available and the object is in non-blocking
 mode, this function effectively becomes a busyloop until it can get more
 data. */
-std::size_t read_all(Base &, char *, std::size_t);
+MSPCORE_API std::size_t read_all(Base &, char *, std::size_t);
 
 } // namespace IO
 } // namespace Msp