forked from enlightenment/efl
optimization attributes for functions.
SVN revision: 46523
This commit is contained in:
parent
7dfc83a627
commit
6769ba3b45
|
@ -7,7 +7,7 @@
|
|||
|
||||
typedef struct _Eina_Strbuf Eina_Strbuf;
|
||||
|
||||
EAPI Eina_Strbuf *eina_strbuf_new(void);
|
||||
EAPI Eina_Strbuf *eina_strbuf_new(void) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
|
||||
EAPI void eina_strbuf_free(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
|
||||
EAPI void eina_strbuf_reset(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
@ -31,9 +31,9 @@ EAPI Eina_Bool eina_strbuf_insert_char(Eina_Strbuf *buf, char c, size_t pos) EIN
|
|||
|
||||
|
||||
EAPI Eina_Bool eina_strbuf_remove(Eina_Strbuf *buf, size_t start, size_t end) EINA_ARG_NONNULL(1);
|
||||
EAPI const char *eina_strbuf_string_get(const Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
|
||||
EAPI char *eina_strbuf_string_steal(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
|
||||
EAPI size_t eina_strbuf_length_get(const Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
|
||||
EAPI const char *eina_strbuf_string_get(const Eina_Strbuf *buf) EINA_CONST EINA_ARG_NONNULL(1);
|
||||
EAPI char *eina_strbuf_string_steal(Eina_Strbuf *buf) EINA_MALLOC EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
|
||||
EAPI size_t eina_strbuf_length_get(const Eina_Strbuf *buf) EINA_CONST EINA_ARG_NONNULL(1);
|
||||
EAPI Eina_Bool eina_strbuf_replace(Eina_Strbuf *buf, const char *str, const char *with, unsigned int n) EINA_ARG_NONNULL(1, 2, 3);
|
||||
#define eina_strbuf_replace_first(buf, str, with) \
|
||||
eina_strbuf_replace(buf, str, with, 1)
|
||||
|
|
Loading…
Reference in New Issue