mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
54f2e417dc
Returning a string was a bad idea as it makes str_str difficult to use with str_mid. (actually, iirc, it was the only reason I moved all strings into progs memory... hmm).
19 lines
694 B
R
19 lines
694 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;
|
|
void (string str) str_free = #0;
|
|
string str_hold (string str) = #0;
|
|
int str_valid (string str) = #0;
|
|
int str_mutable (string str) = #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;
|
|
int str_str (string haystack, string needle) = #0;
|
|
int str_char (string str, int ind) = #0;
|
|
string str_quote (string str) = #0;
|
|
string str_lower (string str) = #0;
|