summaryrefslogtreecommitdiff
path: root/src/include/eina_stringshare.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-08-13 06:36:33 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-08-13 06:36:33 +0000
commitaf0365a2cd3d0bd338113e64a7c08da663cb9bff (patch)
tree712fd65899ce14c5281f36197a5ce949e78ea0c8 /src/include/eina_stringshare.h
parentbb9de2749ab9a8ec641e8cfa8ae1575b3a591683 (diff)
downloadeina-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.h30
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"