2
0
Эх сурвалжийг харах

Merge pull request #12473 from neikeq/Alpha2?-Let'sDoThis

BindingsGenerator cleanup and improved error messages
Ignacio Etcheverry 7 жил өмнө
parent
commit
8fca54fb0d

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 368 - 497
modules/mono/editor/bindings_generator.cpp


+ 7 - 0
modules/mono/editor/bindings_generator.h

@@ -368,6 +368,8 @@ class BindingsGenerator {
 	List<InternalCall> method_icalls;
 	Map<const MethodInterface *, const InternalCall *> method_icalls_map;
 
+	List<const InternalCall *> generated_icall_funcs;
+
 	List<InternalCall> core_custom_icalls;
 	List<InternalCall> editor_custom_icalls;
 
@@ -404,6 +406,11 @@ class BindingsGenerator {
 
 	Error _generate_cs_type(const TypeInterface &itype, const String &p_output_file);
 
+	Error _generate_cs_property(const TypeInterface &p_itype, const DocData::PropertyDoc &p_prop_doc, List<String> &p_output);
+	Error _generate_cs_method(const TypeInterface &p_itype, const MethodInterface &p_imethod, int &p_method_bind_count, List<String> &p_output);
+
+	Error _generate_glue_method(const TypeInterface &p_itype, const MethodInterface &p_imethod, List<String> &p_output);
+
 	Error _save_file(const String &path, const List<String> &content);
 
 	BindingsGenerator();

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно