فهرست منبع

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

BindingsGenerator cleanup and improved error messages
Ignacio Etcheverry 7 سال پیش
والد
کامیت
8fca54fb0d
2فایلهای تغییر یافته به همراه375 افزوده شده و 497 حذف شده
  1. 368 497
      modules/mono/editor/bindings_generator.cpp
  2. 7 0
      modules/mono/editor/bindings_generator.h

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 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();

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است