summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative_api.json
diff options
context:
space:
mode:
authorCameron Reikes <cameronreikes@gmail.com>2019-07-16 18:31:58 -0700
committerCameron Reikes <cameronreikes@gmail.com>2019-09-14 13:08:28 -0700
commit757c509437720b50056bd67f8d4e463c38c5b13e (patch)
tree2a1f4235d5e4c340472972dba0d39b504d2e54c8 /modules/gdnative/gdnative_api.json
parent24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff)
Add array slice method
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r--modules/gdnative/gdnative_api.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json
index 03258584ce..55ba4ecc1e 100644
--- a/modules/gdnative/gdnative_api.json
+++ b/modules/gdnative/gdnative_api.json
@@ -80,6 +80,17 @@
["const godot_vector2 *", "p_self"],
["const godot_vector2 *", "p_to"]
]
+ },
+ {
+ "name": "godot_array_slice",
+ "return_type": "godot_array",
+ "arguments": [
+ ["const godot_array *", "p_self"],
+ ["const godot_int", "p_begin"],
+ ["const godot_int", "p_end"],
+ ["const godot_int", "p_step"],
+ ["const godot_bool", "p_deep"]
+ ]
}
]
},