Explorar o código

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

BindingsGenerator cleanup and improved error messages
Ignacio Etcheverry %!s(int64=7) %!d(string=hai) anos
pai
achega
8fca54fb0d
Modificáronse 2 ficheiros con 375 adicións e 497 borrados
  1. 368 497
      modules/mono/editor/bindings_generator.cpp
  2. 7 0
      modules/mono/editor/bindings_generator.h

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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();

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio