mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
4bd37e7b64
Doxygen hates the QuakeC-style function prototypes we use, so switch to the C-style prototypes.
23 lines
801 B
C
23 lines
801 B
C
#ifndef __ruamoko_string_h
|
|
#define __ruamoko_string_h
|
|
|
|
@extern string ftos (float f);
|
|
@extern string vtos (vector v);
|
|
@extern float stof (string s);
|
|
@extern float strlen (string s);
|
|
@extern float charcount (string goal, string s);
|
|
@extern string sprintf (string fmt, ...);
|
|
@extern string itos (integer i);
|
|
@extern integer stoi (string s);
|
|
@extern vector stov (string s);
|
|
|
|
@extern string str_new (void);
|
|
@extern string str_free (string str);
|
|
@extern string str_copy (string dst, string src);
|
|
@extern string str_cat (string dst, string src);
|
|
@extern string str_clear (string str);
|
|
@extern @overload string str_mid (string str, integer start);
|
|
@extern @overload string str_mid (string str, integer start, integer len);
|
|
@extern string str_str (string haystack, string needle);
|
|
|
|
#endif//__ruamoko_string_h
|