Sebastian Dransfeld <sd@tango.flipp.net>
Myungjae Lee <mjae.lee@samsung.com>
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
+billiob (Boris Faure) <billiob@gmail.com>
* This function appends @p str to @p buf. @p str must be of size at
* most @p length. It is slightly faster than eina_strbuf_append() as
* it does not compute the size of @p str. It is useful when dealing
- * with strings of known size, such as eina_strngshare. If @p buf
+ * with strings of known size, such as eina_stringshare. If @p buf
* can't append it, #EINA_FALSE is returned, otherwise #EINA_TRUE is
* returned.
*
* @see eina_strbuf_append()
* @see eina_strbuf_append_n()
*/
-EAPI Eina_Bool eina_strbuf_append_length(Eina_Strbuf *buf, const char *str, size_t length) EINA_ARG_NONNULL(1, 2);
+EAPI Eina_Bool eina_strbuf_append_length(Eina_Strbuf *buf, const char *str, size_t length) EINA_ARG_NONNULL(1);
/**
* @brief Append a character to a string buffer, reallocating as
if (EINA_UNLIKELY(!_eina_strbuf_common_grow(csize, buf, buf->len + length)))
return EINA_FALSE;
- memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str,
+ memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str,
length * csize);
buf->len += length;
memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize);