Browse Source

Fix print file list

Hennadii Chernyshchyk 4 years ago
parent
commit
e8030ed1cf
3 changed files with 1446 additions and 209 deletions
  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)
 
     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")
         source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp")
         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
 for now use this hardcoded copy.
+
+Based on 04c64b59a12a0ea9a2dfa153c630693c7391827d

File diff suppressed because it is too large
+ 1441 - 209
godot-headers-temp/extension_api.json


Some files were not shown because too many files changed in this diff