diff options
| author | Syndamia <kamen@syndamia.com> | 2026-04-21 19:48:36 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2026-04-21 19:48:36 +0300 |
| commit | 3b543388b988702c984d80a35e97ea134d9ed481 (patch) | |
| tree | 78e9446efd4e9703f4fa8cb56602398b5dd763bd /String.h | |
| parent | 65452e3680e411da643bd03107637c2d9ef01312 (diff) | |
| download | foollib-3b543388b988702c984d80a35e97ea134d9ed481.tar foollib-3b543388b988702c984d80a35e97ea134d9ed481.tar.gz foollib-3b543388b988702c984d80a35e97ea134d9ed481.zip | |
feat!: Function rename and standardize
Diffstat (limited to 'String.h')
| -rw-r--r-- | String.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -5,21 +5,21 @@ typedef char* String; -String String_new(BumpArena b, const char* str); -String String_newlen(BumpArena b, usize length); -String String_dup(BumpArena b, String s); -String String_concat(BumpArena b, ...); -String String_printf(BumpArena b, const char* fmt, ...); +String S_new(BumpArena b, const char* str); +String S_newlen(BumpArena b, usize length); +String S_dup(BumpArena b, String s); +String S_concat(BumpArena b, ...); +String S_printf(BumpArena b, const char* fmt, ...); -usize String_length(String s); -Result String_append(String s, const char* str); -Result String_prepend(String s, const char* str); -usize String_find(String s, char c); +usize S_length(String s); +Result S_append(String s, const char* str); +Result S_prepend(String s, const char* str); +usize S_find(String s, char c); -String String_Gnew(const char* str); -String String_Gnewlen(usize length); -String String_Gdup(String s); -String String_Gconcat(const char* str, ...); -String String_Gprintf(const char* fmt, ...); +String SG_new(const char* str); +String SG_newlen(usize length); +String SG_dup(String s); +String SG_concat(const char* str, ...); +String SG_printf(const char* fmt, ...); #endif /* _STRING */ |
