Skip to content

Commit

Permalink
Move Array:set_typed to internal GDExtension structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg committed Jan 30, 2023
1 parent 0f3a091 commit 40d3cfd
Show file tree
Hide file tree
Showing 5 changed files with 1,622 additions and 1,699 deletions.
1 change: 1 addition & 0 deletions binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl
if class_name == "Array":
result.append(f"\tconst Variant &operator[](int p_index) const;")
result.append(f"\tVariant &operator[](int p_index);")
result.append(f"\tvoid set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script);")

if class_name == "Dictionary":
result.append(f"\tconst Variant &operator[](const Variant &p_key) const;")
Expand Down
Loading

0 comments on commit 40d3cfd

Please sign in to comment.