diff options
author | Chaosus <chaosus89@gmail.com> | 2019-01-18 11:29:28 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2019-07-23 18:55:54 +0300 |
commit | 080c0bb7fea824f231e8972fe1e7f82290a2f453 (patch) | |
tree | 70c99fe65ad4e7a4d294206e1c65345e6f30116b /modules/gdnative/include | |
parent | c7a427241e7f4dd6ab9ac89f51d3bb9f6632008b (diff) |
Added count method to String
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r-- | modules/gdnative/include/gdnative/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/include/gdnative/string.h b/modules/gdnative/include/gdnative/string.h index f045ac9d58..7500d70f20 100644 --- a/modules/gdnative/include/gdnative/string.h +++ b/modules/gdnative/include/gdnative/string.h @@ -102,6 +102,8 @@ godot_bool GDAPI godot_string_begins_with_char_array(const godot_string *p_self, godot_array GDAPI godot_string_bigrams(const godot_string *p_self); godot_string GDAPI godot_string_chr(wchar_t p_character); godot_bool GDAPI godot_string_ends_with(const godot_string *p_self, const godot_string *p_string); +godot_int GDAPI godot_string_count(const godot_string *p_self, godot_string p_what, godot_int p_from, godot_int p_to); +godot_int GDAPI godot_string_countn(const godot_string *p_self, godot_string p_what, godot_int p_from, godot_int p_to); godot_int GDAPI godot_string_find(const godot_string *p_self, godot_string p_what); godot_int GDAPI godot_string_find_from(const godot_string *p_self, godot_string p_what, godot_int p_from); godot_int GDAPI godot_string_findmk(const godot_string *p_self, const godot_array *p_keys); |