forked from enlightenment/efl
Eina ustrbuf: Fixed eina_ustrbuf_prepend_char.
Thanks to Ulrich Eckhardt for the report. SVN revision: 60235
This commit is contained in:
parent
724f2a70ef
commit
1fc8976439
|
@ -305,18 +305,18 @@ EAPI Eina_Bool eina_ustrbuf_insert_char(Eina_UStrbuf *buf, Eina_Unicode c, size_
|
||||||
#define eina_ustrbuf_prepend_length(buf, str, length) eina_ustrbuf_insert_length(buf, str, length, 0)
|
#define eina_ustrbuf_prepend_length(buf, str, length) eina_ustrbuf_insert_length(buf, str, length, 0)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @def eina_ustrbuf_prepend_Eina_Unicode *(buf, str)
|
* @def eina_ustrbuf_prepend_char(buf, c)
|
||||||
* @brief Prepend the given Eina_Unicode *acter to the given buffer
|
* @brief Prepend the given unicode character to the given buffer
|
||||||
*
|
*
|
||||||
* @param buf The string buffer to prepend to.
|
* @param buf The string buffer to prepend to.
|
||||||
* @param c The Eina_Unicode *acter to prepend.
|
* @param c The Eina_Unicode character to prepend.
|
||||||
* @return #EINA_TRUE on success, #EINA_FALSE on failure.
|
* @return #EINA_TRUE on success, #EINA_FALSE on failure.
|
||||||
*
|
*
|
||||||
* This macro is calling eina_ustrbuf_insert_Eina_Unicode *() at position 0. If
|
* This macro is calling eina_ustrbuf_insert_Eina_Unicode *() at position 0. If
|
||||||
* @p buf can't prepend it, #EINA_FALSE is returned, otherwise
|
* @p buf can't prepend it, #EINA_FALSE is returned, otherwise
|
||||||
* #EINA_TRUE is returned.
|
* #EINA_TRUE is returned.
|
||||||
*/
|
*/
|
||||||
#define eina_ustrbuf_prepend_Eina_Unicode *(buf, c)eina_ustrbuf_insert_Eina_Unicode * (buf, c, 0)
|
#define eina_ustrbuf_prepend_char(buf, c) eina_ustrbuf_insert_char(buf, c, 0)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @def eina_ustrbuf_prepend_printf(buf, fmt, ...)
|
* @def eina_ustrbuf_prepend_printf(buf, fmt, ...)
|
||||||
|
|
Loading…
Reference in New Issue