Namespace all functions
This commit is contained in:
@@ -5,18 +5,18 @@
|
||||
|
||||
typedef struct dstr String;
|
||||
|
||||
String *dstr_with_capacity(u64 capacity);
|
||||
String *dstr_from_string(const char *str);
|
||||
void dstr_update(String **dst, const char *src);
|
||||
void dstr_free(String **str);
|
||||
void dstr_concat(String **dst, const char *src);
|
||||
void dstr_append(String **dst, char c);
|
||||
void dstr_resize(String **str);
|
||||
void dstr_clear(String *str);
|
||||
void dstr_print(const String *str);
|
||||
i64 dstr_find(const String *str, const char *substr);
|
||||
u64 dstr_length(const String *str);
|
||||
u64 dstr_capacity(const String *str);
|
||||
const char *dstr_to_cstr(const String *str);
|
||||
String *wapp_dstr_with_capacity(u64 capacity);
|
||||
String *wapp_dstr_from_string(const char *str);
|
||||
void wapp_dstr_update(String **dst, const char *src);
|
||||
void wapp_dstr_free(String **str);
|
||||
void wapp_dstr_concat(String **dst, const char *src);
|
||||
void wapp_dstr_append(String **dst, char c);
|
||||
void wapp_dstr_resize(String **str);
|
||||
void wapp_dstr_clear(String *str);
|
||||
void wapp_dstr_print(const String *str);
|
||||
i64 wapp_dstr_find(const String *str, const char *substr);
|
||||
u64 wapp_dstr_length(const String *str);
|
||||
u64 wapp_dstr_capacity(const String *str);
|
||||
const char *wapp_dstr_to_cstr(const String *str);
|
||||
|
||||
#endif // !DSTR_H
|
||||
|
||||
Reference in New Issue
Block a user