@@ -53,17 +53,16 @@ void one(T* self)
5353 self->assign (typename T::TYPE (-1 ));
5454}
5555
56+ #ifndef LINUX // FIXME!!!
5657SCRIPT_EXPORT (Flags8, (),
5758{
5859 module (luaState)
5960 [
6061 class_<Flags8>(" flags8" )
6162 .def (constructor<>())
62- #ifndef LINUX // FIXME!!!
6363 .def (" get" , &Flags8::get)
6464 .def (" zero" , &Flags8::zero)
6565 .def (" one" , &one<Flags8>)
66- #endif
6766 .def (" invert" , (Flags8 & (Flags8::*)())(&Flags8::invert))
6867 .def (" invert" , (Flags8 & (Flags8::*)(const Flags8&))(&Flags8::invert))
6968 .def (" invert" , (Flags8 & (Flags8::*)(const Flags8::TYPE))(&Flags8::invert))
@@ -88,11 +87,9 @@ SCRIPT_EXPORT(Flags16, (),
8887 [
8988 class_<Flags16>(" flags16" )
9089 .def (constructor<>())
91- #ifndef LINUX // FIXME!!!
9290 .def (" get" , &Flags16::get)
9391 .def (" zero" , &Flags16::zero)
9492 .def (" one" , &one<Flags16>)
95- #endif
9693 .def (" invert" , (Flags16 & (Flags16::*)())(&Flags16::invert))
9794 .def (" invert" , (Flags16 & (Flags16::*)(const Flags16&))(&Flags16::invert))
9895 .def (" invert" , (Flags16 & (Flags16::*)(const Flags16::TYPE))(&Flags16::invert))
@@ -117,11 +114,9 @@ SCRIPT_EXPORT(Flags32, (),
117114 [
118115 class_<Flags32>(" flags32" )
119116 .def (constructor<>())
120- #ifndef LINUX // FIXME!!!
121117 .def (" get" , &Flags32::get)
122118 .def (" zero" , &Flags32::zero)
123119 .def (" one" , &Flags32::one)
124- #endif
125120 .def (" invert" , (Flags32 & (Flags32::*)())(&Flags32::invert))
126121 .def (" invert" , (Flags32 & (Flags32::*)(const Flags32&))(&Flags32::invert))
127122 .def (" invert" , (Flags32 & (Flags32::*)(const Flags32::TYPE))(&Flags32::invert))
@@ -139,3 +134,4 @@ SCRIPT_EXPORT(Flags32, (),
139134 .def (" equal" , (bool (*)(Flags32*, const Flags32&, const Flags32::TYPE))(&equal<Flags32>))
140135 ];
141136});
137+ #endif
0 commit comments