X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fwrapper_util.hpp;h=54ca2e987353c44ff7b992bfe43e188d953cc573;hb=8f82a8e619346be81a3c1bf943baf68953f1f4e7;hp=63e185d3a74ce5b5abecb51b41a463e8135e26d8;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/scripting/wrapper_util.hpp b/src/scripting/wrapper_util.hpp index 63e185d3a..54ca2e987 100644 --- a/src/scripting/wrapper_util.hpp +++ b/src/scripting/wrapper_util.hpp @@ -3,17 +3,9 @@ #include #include +#include #include -struct WrappedFunction { - const char* name; - SQFUNCTION f; -}; -struct WrappedClass { - const char* name; - WrappedFunction* functions; -}; - class SquirrelError : public std::exception { public: @@ -25,9 +17,6 @@ private: std::string message; }; -void register_functions(HSQUIRRELVM v, WrappedFunction* functions); -void register_classes(HSQUIRRELVM v, WrappedClass* classes); - void print_squirrel_stack(HSQUIRRELVM v); #endif