瀏覽代碼

Fix print file list

Hennadii Chernyshchyk 4 年之前
父節點
當前提交
e8030ed1cf
共有 3 個文件被更改,包括 1446 次插入209 次删除
  1. 3 0
      binding_generator.py
  2. 2 0
      godot-headers-temp/README.md
  3. 1441 209
      godot-headers-temp/extension_api.json

+ 3 - 0
binding_generator.py

@@ -27,6 +27,9 @@ def print_file_list(api_filepath, output_dir, headers=False, sources=False):
             print(str(source_filename.as_posix()), end=end)
             print(str(source_filename.as_posix()), end=end)
 
 
     for engine_class in api["classes"]:
     for engine_class in api["classes"]:
+        # TODO: Properly setup this singleton since it conflicts with ClassDB in the bindings.
+        if engine_class["name"] == "ClassDB":
+            continue
         header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp")
         header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp")
         source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp")
         source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp")
         if headers:
         if headers:

+ 2 - 0
godot-headers-temp/README.md

@@ -2,3 +2,5 @@
 
 
 The `godot-headers` repository will eventually be updated to latest master but
 The `godot-headers` repository will eventually be updated to latest master but
 for now use this hardcoded copy.
 for now use this hardcoded copy.
+
+Based on 04c64b59a12a0ea9a2dfa153c630693c7391827d

文件差異過大導致無法顯示
+ 1441 - 209
godot-headers-temp/extension_api.json


部分文件因文件數量過多而無法顯示