Fix cfw_strndup() and add cfw_strnlen().

This commit is contained in:
Jonathan Schleifer 2012-09-30 02:59:17 +02:00
parent f9171cf8a1
commit 8f0ffd2483
2 changed files with 15 additions and 10 deletions

View file

@ -32,6 +32,7 @@
typedef struct CFWString CFWString;
extern CFWClass *cfw_string;
extern size_t cfw_strnlen(const char*, size_t);
extern char* cfw_strdup(const char*);
extern char* cfw_strndup(const char*, size_t);
extern const char* cfw_string_c(CFWString*);