Add reserve() to Dictionary, apply to constructors on GDScript VM

This commit is contained in:
DeeJayLSP 2025-09-23 16:57:52 -03:00
parent aa2c4fe654
commit 8a7a0faa75
3 changed files with 10 additions and 2 deletions

View file

@ -74,6 +74,7 @@ public:
int size() const;
bool is_empty() const;
void reserve(int p_new_capacity);
void clear();
void sort();
void merge(const Dictionary &p_dictionary, bool p_overwrite = false);