Add cfw_string_set_nocopy().

This commit is contained in:
Jonathan Schleifer 2012-09-30 01:22:12 +02:00
parent 69adb323ad
commit 7ad3af0b3d
2 changed files with 22 additions and 3 deletions

View file

@ -37,6 +37,7 @@ extern char* cfw_strndup(const char*, size_t);
extern const char* cfw_string_c(CFWString*);
extern size_t cfw_string_length(CFWString*);
extern bool cfw_string_set(CFWString*, const char*);
extern void cfw_string_set_nocopy(CFWString*, char*, size_t);
extern bool cfw_string_append(CFWString*, CFWString*);
extern size_t cfw_string_find(CFWString*, CFWString*, cfw_range_t);