mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
0ad9f559ea
sprintf, vsprintf and strlen now in rua_strings, and strlen now returns int like it should.
14 lines
524 B
R
14 lines
524 B
R
#include <string.h>
|
|
|
|
int (string s) strlen = #0;
|
|
string (string fmt, ...) sprintf = #0;
|
|
string vsprintf (string fmt, @va_list args) = #0;
|
|
string (void) str_new = #0;
|
|
string (string str) str_free = #0;
|
|
string (string dst, string src) str_copy = #0;
|
|
string (string dst, string src) str_cat = #0;
|
|
string (string str) str_clear = #0;
|
|
string (string str, int start) str_mid = #0;
|
|
string (string str, int start, int len) str_mid = #0;
|
|
string (string haystack, string needle) str_str = #0;
|
|
int str_char (string str, int ind) = #0;
|