From 8645ce783b53a81396b19404135d64beb8fee3c7 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Wed, 25 Apr 2012 11:24:15 +0200 Subject: [PATCH] cfw_string_len() -> cfw_string_length(). --- src/string.c | 2 +- src/string.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string.c b/src/string.c index 8ec9b7a..0931764 100644 --- a/src/string.c +++ b/src/string.c @@ -149,7 +149,7 @@ cfw_string_c(CFWString *str) } size_t -cfw_string_len(CFWString *string) +cfw_string_length(CFWString *string) { return string->len; } diff --git a/src/string.h b/src/string.h index c194324..f00bfb8 100644 --- a/src/string.h +++ b/src/string.h @@ -34,7 +34,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 size_t cfw_string_length(CFWString*); extern bool cfw_string_set(CFWString*, const char*); extern bool cfw_string_append(CFWString*, CFWString*); extern size_t cfw_string_find(CFWString*, CFWString*, cfw_range_t);