diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-23 15:26:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 15:26:27 +0200 |
commit | 2114898cb5e8f3650602d3a949a00b766347dbfb (patch) | |
tree | 950dfc91cd39253702f6a76aea81085386ca1bbb /modules/gdnative/include | |
parent | 159470df08c0283a2330af94d26ccbe3d009d8fd (diff) | |
parent | 757c509437720b50056bd67f8d4e463c38c5b13e (diff) |
Merge pull request #31172 from creikey/add-array-slicing
Add array slice method
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r-- | modules/gdnative/include/gdnative/array.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/include/gdnative/array.h b/modules/gdnative/include/gdnative/array.h index 10ef8a73d2..2e3ce58033 100644 --- a/modules/gdnative/include/gdnative/array.h +++ b/modules/gdnative/include/gdnative/array.h @@ -132,6 +132,8 @@ void GDAPI godot_array_destroy(godot_array *p_self); godot_array GDAPI godot_array_duplicate(const godot_array *p_self, const godot_bool p_deep); +godot_array GDAPI godot_array_slice(const godot_array *p_self, const godot_int p_begin, const godot_int p_end, const godot_int p_delta, const godot_bool p_deep); + godot_variant GDAPI godot_array_max(const godot_array *p_self); godot_variant GDAPI godot_array_min(const godot_array *p_self); |