new string fn

This commit is contained in:
Tenari
2026-06-05 07:54:06 -05:00
parent d9648c8bac
commit 22dec9e742
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -683,6 +683,7 @@ fn bool stringDeleteCodepointsBetweenByteOffsetsInclusive(String* s, u32 start,
fn u32 stringCountLines(String s);
fn u32 stringLineLen(String s, u32 line_number);
fn u32 stringLineStartByteOffset(String s, u32 line_number);
fn bool stringInsertBytesAt(String* s, str bytes, u32 at);
///// OS-wrapped apis
void osInit();