]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/state.h
Add API declarations
[libs/gltk.git] / source / state.h
index eb124691dfba756673b01b3718e1f8c6114062ee..51d17b2bb758fa14e08186c815fc565612148373 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <istream>
 #include <msp/datafile/value.h>
+#include "mspgltk_api.h"
 
 namespace Msp {
 namespace GLtk {
@@ -32,7 +33,7 @@ inline State operator&=(State &a, State b)
 inline State operator~(State a)
 { return static_cast<State>(~static_cast<int>(a)); }
 
-extern std::istream &operator>>(std::istream &, State &);
+MSPGLTK_API std::istream &operator>>(std::istream &, State &);
 
 } // namespace GLtk
 } // namespace Msp