* eina: Fix declaration according to Vincent Torri review.
authorcedric <cedric>
Thu, 16 Jul 2009 12:09:29 +0000 (12:09 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Jul 2009 12:09:29 +0000 (12:09 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41359 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_hash.h
src/include/eina_stringshare.h

index ad4bc9a..f343f5a 100644 (file)
@@ -120,6 +120,7 @@ EAPI int eina_hash_superfast(const char *key, int len) EINA_ARG_NONNULL(1);
 
 /* Hash function first reported by dan bernstein many years ago in comp.lang.c */
 static inline int eina_hash_djb2(const char *key, int len) EINA_ARG_NONNULL(1);
+static inline int eina_hash_djb2_len(const char *key, int *plen) EINA_ARG_NONNULL(1, 2);
 
 /* Hash function from http://www.concentric.net/~Ttwang/tech/inthash.htm */
 static inline int eina_hash_int32(const unsigned int *pkey, int len) EINA_ARG_NONNULL(1);
index 4670ad6..40ace4e 100644 (file)
@@ -74,6 +74,7 @@ EAPI void eina_stringshare_del(const char *str);
 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, 2);
 
 #include "eina_inline_stringshare.x"