Add cfw_strndup().

This commit is contained in:
Jonathan Schleifer 2012-09-30 01:17:01 +02:00
parent a9f9734ea7
commit 69adb323ad
2 changed files with 23 additions and 0 deletions

View file

@ -33,6 +33,7 @@
typedef struct CFWString CFWString;
extern CFWClass *cfw_string;
extern char* cfw_strdup(const char*);
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*);