Differences From Artifact [14e8b0fd1e]:
- File src/string.c — part of check-in [5c1d214724] at 2012-04-25 09:30:22 on branch trunk — Add cfw_strdup(), as strdup() is not C99. (user: js, size: 4368) [annotate] [blame] [check-ins using]
To Artifact [cebb101511]:
- File src/string.c — part of check-in [27a8cd7393] at 2012-04-25 09:30:26 on branch trunk — cfw_string_len() -> cfw_string_length(). (user: js, size: 4371) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
145 146 147 148 149 150 151 | const char* cfw_string_c(CFWString *str) { return str->data; } size_t | | | 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | const char* cfw_string_c(CFWString *str) { return str->data; } size_t cfw_string_length(CFWString *string) { return string->len; } bool cfw_string_set(CFWString *str, const char *cstr) { |
︙ | ︙ |