]> git.tdb.fi Git - libs/core.git/commitdiff
Export a few low-level symbols which are needed by other libraries
authorMikko Rasa <tdb@tdb.fi>
Sat, 23 Dec 2023 14:15:29 +0000 (16:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 23 Dec 2023 14:15:29 +0000 (16:15 +0200)
source/io/handle.h
source/time/unix/rawtime_platform.h

index 06c2034c5271995995fd2929027cc1951fcf9d7d..429642b5f2336a63d529a3655a8718cc7a6bb15f 100644 (file)
@@ -28,11 +28,11 @@ public:
 };
 
 
-void sys_set_blocking(Handle &, bool);
-void sys_set_inherit(Handle &, bool);
-std::size_t sys_read(Handle &, char *, std::size_t);
-std::size_t sys_write(Handle &, const char *, std::size_t);
-void sys_close(Handle &);
+MSPCORE_API void sys_set_blocking(Handle &, bool);
+MSPCORE_API void sys_set_inherit(Handle &, bool);
+MSPCORE_API std::size_t sys_read(Handle &, char *, std::size_t);
+MSPCORE_API std::size_t sys_write(Handle &, const char *, std::size_t);
+MSPCORE_API void sys_close(Handle &);
 
 } // namespace IO
 } // namespace Msp
index 8f9f6336c96514ae5d62a3dfd43907e4a141dc67..4c175d6a027e03ab9982a8b1b25f5021a3476ae5 100644 (file)
@@ -2,14 +2,15 @@
 #define MSP_TIME_RAWTIME_PLATFORM_H_
 
 #include <sys/time.h>
+#include <msp/core/mspcore_api.h>
 #include "rawtime.h"
 
 namespace Msp {
 namespace Time {
 
-timeval rawtime_to_timeval(RawTime);
-timespec rawtime_to_timespec(RawTime);
-RawTime timeval_to_rawtime(const timeval &);
+MSPCORE_API timeval rawtime_to_timeval(RawTime);
+MSPCORE_API timespec rawtime_to_timespec(RawTime);
+MSPCORE_API RawTime timeval_to_rawtime(const timeval &);
 
 } // namespace Time
 } // namespace Msp