Add cfw_strdup(), as strdup() is not C99.

This commit is contained in:
Jonathan Schleifer 2012-04-25 11:23:37 +02:00
parent a74f8e1bac
commit feb90593b9
2 changed files with 23 additions and 2 deletions

View file

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