1 #ifndef __CREATE_WRAPPER_H__
2 #define __CREATE_WRAPPER_H__
9 /// this is used for indentation
15 WrapperCreator(std::ostream& _out = std::cout, std::ostream& _hppout = std::cout)
16 : out(_out), hppout(_hppout)
21 void create_wrapper(Namespace* ns);
24 void create_register_functions_code(Namespace* ns);
25 void create_register_function_code(Function* function, Class* _class);
26 void create_register_classes_code(Namespace* ns);
27 void create_register_class_code(Class* _class);
28 void create_register_constant_code(Field* field);
29 void create_register_constants_code(Namespace* ns);
30 void create_register_slot_code(const std::string& what,
31 const std::string& name);
33 void create_function_list(Namespace* ns);
34 void create_const_lists(Namespace* ns);
35 void create_class_const_lists(Class* _class);
36 void create_class_wrapper(Class* _class);
37 void create_class_release_hook(Class* _class);
38 void create_squirrel_instance(Class* _class);
39 void create_function_wrapper(Class* _class, Function* function);
40 void prepare_argument(const Type& type, size_t idx, const std::string& var);
41 void push_to_stack(const Type& type, const std::string& var);