Add cfw_strdup(), as strdup() is not C99.
This commit is contained in:
parent
a74f8e1bac
commit
feb90593b9
2 changed files with 23 additions and 2 deletions
|
@ -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*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue