mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #110709 from DeeJayLSP/dict-reserve
Add `reserve()` to `Dictionary`, apply to constructors on GDScript VM
This commit is contained in:
commit
f50d7fa1e8
3 changed files with 10 additions and 2 deletions
|
|
@ -72,6 +72,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue