update miniswig to handle multiple inheritance
[supertux.git] / src / scripting / wrapper.hpp
index dffd5ca..bc4ebfe 100644 (file)
@@ -6,22 +6,9 @@
 #ifndef __supertux_WRAPPER_H__
 #define __supertux_WRAPPER_H__
 
-#include "wrapper_util.hpp"
+#include <squirrel.h>
 
-extern WrappedFunction supertux_global_functions[];
-extern WrappedClass supertux_classes[];
-extern WrappedConstant<int> supertux_int_constants[];
-extern WrappedConstant<float> supertux_float_constants[];
-extern WrappedConstant<const char*> supertux_string_constants[];
-
-static inline void register_supertux_wrapper(HSQUIRRELVM v)
-{
-    register_functions(v, supertux_global_functions);
-    register_classes(v, supertux_classes);
-    register_constants(v, supertux_int_constants);
-    register_constants(v, supertux_float_constants);
-    register_constants(v, supertux_string_constants);
-}
+void register_supertux_wrapper(HSQUIRRELVM v);
 
 #endif