X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=tools%2Fminiswig%2Fcreate_wrapper.hpp;h=a2e5395d67fcf14c4c946d55a62e3a7d9c869bd7;hb=65a0b6f7ec1123cff959e13e1a4919dc70fe4e85;hp=af5a7ec3fa57f6fb3703728ca803d1161a29d8cb;hpb=5069d8fa90db33fd5f68540eda111f1fcf5f2d25;p=supertux.git diff --git a/tools/miniswig/create_wrapper.hpp b/tools/miniswig/create_wrapper.hpp index af5a7ec3f..a2e5395d6 100644 --- a/tools/miniswig/create_wrapper.hpp +++ b/tools/miniswig/create_wrapper.hpp @@ -21,6 +21,8 @@ public: void create_wrapper(Namespace* ns); private: + std::string ns_prefix; + void create_register_functions_code(Namespace* ns); void create_register_function_code(Function* function, Class* _class); void create_register_classes_code(Namespace* ns); @@ -29,16 +31,16 @@ private: void create_register_constants_code(Namespace* ns); void create_register_slot_code(const std::string& what, const std::string& name); - + void create_function_list(Namespace* ns); void create_const_lists(Namespace* ns); void create_class_const_lists(Class* _class); void create_class_wrapper(Class* _class); void create_class_release_hook(Class* _class); + void create_squirrel_instance(Class* _class); void create_function_wrapper(Class* _class, Function* function); void prepare_argument(const Type& type, size_t idx, const std::string& var); void push_to_stack(const Type& type, const std::string& var); }; #endif -