@@ -69,11 +69,11 @@ * Creates a new OFString from a C string with the specified encoding and * length. * * \param str A C string to initialize the OFString with * \param encoding The encoding of the C string - * \param len The length of the string + * \param len The length of the C string * \return A new autoreleased OFString */ + stringWithCString: (const char*)str encoding: (enum of_string_encoding)encoding length: (size_t)len; @@ -81,11 +81,11 @@ /** * Creates a new OFString from a UTF-8 encoded C string with the specified * length. * * \param str A UTF-8 encoded C string to initialize the OFString with - * \param len The length of the string + * \param len The length of the UTF-8 encoded C string * \return A new autoreleased OFString */ + stringWithCString: (const char*)str length: (size_t)len; @@ -136,11 +136,11 @@ * Initializes an already allocated OFString from a C string with the specified * encoding and length. * * \param str A C string to initialize the OFString with * \param encoding The encoding of the C string - * \param len The length of the string + * \param len The length of the C string * \return An initialized OFString */ - initWithCString: (const char*)str encoding: (enum of_string_encoding)encoding length: (size_t)len; @@ -148,11 +148,11 @@ /** * Initializes an already allocated OFString from a UTF-8 encoded C string with * the specified length. * * \param str A UTF-8 encoded C string to initialize the OFString with - * \param len The length of the string + * \param len The length of the UTF-8 encoded C string * \return An initialized OFString */ - initWithCString: (const char*)str length: (size_t)len; @@ -188,13 +188,13 @@ * \return The OFString as a UTF-8 encoded C string */ - (const char*)cString; /** - * \return The length of the OFString + * \return The length of the string which cString would return */ -- (size_t)length; +- (size_t)cStringLength; /** * Compares the OFString to another object. * * \param obj An object to compare with