another helper for strings
This commit is contained in:
@@ -684,6 +684,8 @@ 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);
|
||||
fn bool stringInsertBytesAtMaybeAlloc(Arena* a, String* s, str bytes, u32 at);
|
||||
fn u32 stringFindNextCharPosFrom(String s, u32 from, u8 c);
|
||||
|
||||
///// OS-wrapped apis
|
||||
void osInit();
|
||||
|
||||
Reference in New Issue
Block a user