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(CompilationUnit* unit);
22 void create_class_wrapper(Class* _class);
23 void create_class_construct_function(Class* _class);
24 void create_class_destruct_function(Class* _class);
25 void create_function_wrapper(Class* _class, Function* function);
26 void prepare_argument(const Type& type, size_t idx, const std::string& var);
27 void push_to_stack(const Type& type, const std::string& var);