소스 검색

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;
 	List<InternalCall> method_icalls;
 	Map<const MethodInterface *, const InternalCall *> method_icalls_map;
 	Map<const MethodInterface *, const InternalCall *> method_icalls_map;
 
 
+	List<const InternalCall *> generated_icall_funcs;
+
 	List<InternalCall> core_custom_icalls;
 	List<InternalCall> core_custom_icalls;
 	List<InternalCall> editor_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_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);
 	Error _save_file(const String &path, const List<String> &content);
 
 
 	BindingsGenerator();
 	BindingsGenerator();

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.