diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-24 08:32:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 08:32:42 +0200 |
commit | aa062c54fcdac6a17e38f3678c886779bce325f9 (patch) | |
tree | c578a84dd1fd8285a5250ebfe8907494b02ff5a1 /modules/gdnative/gdnative_api.json | |
parent | 3cbd4337ce5bd3d589cd96e1a371d417be781841 (diff) | |
parent | 080c0bb7fea824f231e8972fe1e7f82290a2f453 (diff) |
Merge pull request #25090 from Chaosus/string_count
Added String.count method
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r-- | modules/gdnative/gdnative_api.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json index 6c12ee6534..7372990d5f 100644 --- a/modules/gdnative/gdnative_api.json +++ b/modules/gdnative/gdnative_api.json @@ -44,6 +44,26 @@ ["const godot_vector2 *", "p_to"], ["const godot_real", "p_delta"] ] + }, + { + "name": "godot_string_count", + "return_type": "godot_int", + "arguments": [ + ["const godot_string *", "p_self"], + ["godot_string", "p_what"], + ["godot_int", "p_from"], + ["godot_int", "p_to"] + ] + }, + { + "name": "godot_string_countn", + "return_type": "godot_int", + "arguments": [ + ["const godot_string *", "p_self"], + ["godot_string", "p_what"], + ["godot_int", "p_from"], + ["godot_int", "p_to"] + ] } ] }, |