summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_ustringshare.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_ustringshare.c')
-rw-r--r--src/lib/eina/eina_ustringshare.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eina/eina_ustringshare.c b/src/lib/eina/eina_ustringshare.c
index dbdc8a707b..1ef9dc742a 100644
--- a/src/lib/eina/eina_ustringshare.c
+++ b/src/lib/eina/eina_ustringshare.c
@@ -138,7 +138,7 @@ eina_ustringshare_shutdown(void)
* API *
*============================================================================*/
-EAPI void
+EINA_API void
eina_ustringshare_del(const Eina_Unicode *str)
{
if (!str)
@@ -148,7 +148,7 @@ eina_ustringshare_del(const Eina_Unicode *str)
CRI("EEEK trying to del non-shared ustringshare \"%s\"", (const char *)str);
}
-EAPI const Eina_Unicode *
+EINA_API const Eina_Unicode *
eina_ustringshare_add_length(const Eina_Unicode *str, unsigned int slen)
{
return (const Eina_Unicode *)eina_share_common_add_length(ustringshare_share,
@@ -160,21 +160,21 @@ eina_ustringshare_add_length(const Eina_Unicode *str, unsigned int slen)
Eina_Unicode));
}
-EAPI const Eina_Unicode *
+EINA_API const Eina_Unicode *
eina_ustringshare_add(const Eina_Unicode *str)
{
int slen = (str) ? (int)eina_unicode_strlen(str) : -1;
return eina_ustringshare_add_length(str, slen);
}
-EAPI const Eina_Unicode *
+EINA_API const Eina_Unicode *
eina_ustringshare_ref(const Eina_Unicode *str)
{
return (const Eina_Unicode *)eina_share_common_ref(ustringshare_share,
(const char *)str);
}
-EAPI int
+EINA_API int
eina_ustringshare_strlen(const Eina_Unicode *str)
{
int len = eina_share_common_length(ustringshare_share, (const char *)str);
@@ -182,7 +182,7 @@ eina_ustringshare_strlen(const Eina_Unicode *str)
return len;
}
-EAPI void
+EINA_API void
eina_ustringshare_dump(void)
{
eina_share_common_dump(ustringshare_share, NULL, 0);