Skip to content

Commit

Permalink
Fix missing ZString return.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Aug 29, 2024
1 parent ed023d2 commit d79531d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/raylib5.c3l/raylib.c3i
Original file line number Diff line number Diff line change
Expand Up @@ -1479,15 +1479,15 @@ fn bool textIsEqual(ZString text1, ZString text2) @extern("TextIsEqual");
// Get text length, checks for '\0' ending
fn uint textLength(ZString text) @extern("TextLength");
// Text formatting with variables (sprintf() style)
fn char* textFormat(ZString text, ...) @extern("TextFormat");
fn ZString textFormat(ZString text, ...) @extern("TextFormat");
// Get a piece of a text string
fn char* textSubtext(ZString text, int position, int length) @extern("TextSubtext");
fn ZString textSubtext(ZString text, int position, int length) @extern("TextSubtext");
// Replace text string (WARNING: memory must be freed!)
fn char* textReplace(ZString text, ZString replace, ZString by) @extern("TextReplace");
fn ZString textReplace(ZString text, ZString replace, ZString by) @extern("TextReplace");
// Insert text in a position (WARNING: memory must be freed!)
fn char* textInsert(ZString text, ZString insert, int position) @extern("TextInsert");
fn ZString textInsert(ZString text, ZString insert, int position) @extern("TextInsert");
// Join text strings with delimiter
fn char* textJoin(ZString* textList, int count, ZString delimiter) @extern("TextJoin");
fn ZString textJoin(ZString* textList, int count, ZString delimiter) @extern("TextJoin");
// Split text into multiple strings
fn ZString* textSplit(ZString text, char delimiter, int *count) @extern("TextSplit");
// Append text at specific position and move cursor!
Expand Down

0 comments on commit d79531d

Please sign in to comment.