diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2010-08-13 06:36:33 +0000 |
---|---|---|
committer | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2010-08-13 06:36:33 +0000 |
commit | af0365a2cd3d0bd338113e64a7c08da663cb9bff (patch) | |
tree | 712fd65899ce14c5281f36197a5ce949e78ea0c8 /src/include/eina_stringshare.h | |
parent | bb9de2749ab9a8ec641e8cfa8ae1575b3a591683 (diff) | |
download | eina-af0365a2cd3d0bd338113e64a7c08da663cb9bff.tar.gz |
BOW DOWN BEFORE ME, FOR I HAVE MADE THESE HEADERS READABLE ONCE MORE!
SVN revision: 51065
Diffstat (limited to 'src/include/eina_stringshare.h')
-rw-r--r-- | src/include/eina_stringshare.h | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/src/include/eina_stringshare.h b/src/include/eina_stringshare.h index 8d10a19..99d50c7 100644 --- a/src/include/eina_stringshare.h +++ b/src/include/eina_stringshare.h @@ -67,32 +67,18 @@ * @{ */ -EAPI const char * eina_stringshare_add_length(const char *str, - unsigned int slen) -EINA_WARN_UNUSED_RESULT; -EAPI const char * eina_stringshare_add(const char *str) -EINA_WARN_UNUSED_RESULT; -EAPI const char * eina_stringshare_printf(const char *fmt, - ...) EINA_WARN_UNUSED_RESULT; -EAPI const char * eina_stringshare_vprintf(const char *fmt, - va_list args) -EINA_WARN_UNUSED_RESULT; -EAPI const char * eina_stringshare_nprintf(unsigned int len, - const char *fmt, - ...) EINA_WARN_UNUSED_RESULT; +EAPI const char * eina_stringshare_add_length(const char *str, unsigned int slen) EINA_WARN_UNUSED_RESULT; +EAPI const char * eina_stringshare_add(const char *str) EINA_WARN_UNUSED_RESULT; +EAPI const char * eina_stringshare_printf(const char *fmt, ...) EINA_WARN_UNUSED_RESULT; +EAPI const char * eina_stringshare_vprintf(const char *fmt, va_list args) EINA_WARN_UNUSED_RESULT; +EAPI const char * eina_stringshare_nprintf(unsigned int len, const char *fmt, ...) EINA_WARN_UNUSED_RESULT; EAPI const char * eina_stringshare_ref(const char *str); EAPI void eina_stringshare_del(const char *str); -EAPI int eina_stringshare_strlen(const char *str) EINA_CONST -EINA_WARN_UNUSED_RESULT; +EAPI int eina_stringshare_strlen(const char *str) EINA_CONST EINA_WARN_UNUSED_RESULT; EAPI void eina_stringshare_dump(void); -static inline Eina_Bool eina_stringshare_replace(const char **p_str, - const char *news) -EINA_ARG_NONNULL(1); -static inline Eina_Bool eina_stringshare_replace_length(const char **p_str, - const char *news, - unsigned int slen) -EINA_ARG_NONNULL(1); +static inline Eina_Bool eina_stringshare_replace(const char **p_str, const char *news) EINA_ARG_NONNULL(1); +static inline Eina_Bool eina_stringshare_replace_length(const char **p_str, const char *news, unsigned int slen) EINA_ARG_NONNULL(1); #include "eina_inline_stringshare.x" |