summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_freeq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_freeq.c')
-rw-r--r--src/lib/eina/eina_freeq.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/eina/eina_freeq.c b/src/lib/eina/eina_freeq.c
index bc55b80c91..a4c07c9f9d 100644
--- a/src/lib/eina/eina_freeq.c
+++ b/src/lib/eina/eina_freeq.c
@@ -431,7 +431,7 @@ _eina_freeq_new_postponed(void)
return fq;
}
-EAPI Eina_FreeQ *
+EINA_API Eina_FreeQ *
eina_freeq_new(Eina_FreeQ_Type type)
{
switch (type)
@@ -445,7 +445,7 @@ eina_freeq_new(Eina_FreeQ_Type type)
}
}
-EAPI void
+EINA_API void
eina_freeq_free(Eina_FreeQ *fq)
{
if (!fq) return;
@@ -455,7 +455,7 @@ eina_freeq_free(Eina_FreeQ *fq)
free(fq);
}
-EAPI Eina_FreeQ_Type
+EINA_API Eina_FreeQ_Type
eina_freeq_type_get(Eina_FreeQ *fq)
{
if (fq && fq->postponed)
@@ -470,13 +470,13 @@ eina_freeq_main_set(Eina_FreeQ *fq)
_eina_freeq_main = fq;
}
-EAPI Eina_FreeQ *
+EINA_API Eina_FreeQ *
eina_freeq_main_get(void)
{
return _eina_freeq_main;
}
-EAPI void
+EINA_API void
eina_freeq_count_max_set(Eina_FreeQ *fq, int count)
{
if (!fq) return;
@@ -489,7 +489,7 @@ eina_freeq_count_max_set(Eina_FreeQ *fq, int count)
UNLOCK_FQ(fq);
}
-EAPI int
+EINA_API int
eina_freeq_count_max_get(Eina_FreeQ *fq)
{
int count;
@@ -502,7 +502,7 @@ eina_freeq_count_max_get(Eina_FreeQ *fq)
return count;
}
-EAPI void
+EINA_API void
eina_freeq_mem_max_set(Eina_FreeQ *fq, size_t mem)
{
if (!fq) return;
@@ -514,7 +514,7 @@ eina_freeq_mem_max_set(Eina_FreeQ *fq, size_t mem)
UNLOCK_FQ(fq);
}
-EAPI size_t
+EINA_API size_t
eina_freeq_mem_max_get(Eina_FreeQ *fq)
{
size_t mem;
@@ -527,7 +527,7 @@ eina_freeq_mem_max_get(Eina_FreeQ *fq)
return mem;
}
-EAPI void
+EINA_API void
eina_freeq_clear(Eina_FreeQ *fq)
{
if (!fq) return;
@@ -537,7 +537,7 @@ eina_freeq_clear(Eina_FreeQ *fq)
UNLOCK_FQ(fq);
}
-EAPI void
+EINA_API void
eina_freeq_reduce(Eina_FreeQ *fq, int count)
{
if (!fq) return;
@@ -551,7 +551,7 @@ eina_freeq_reduce(Eina_FreeQ *fq, int count)
UNLOCK_FQ(fq);
}
-EAPI Eina_Bool
+EINA_API Eina_Bool
eina_freeq_ptr_pending(Eina_FreeQ *fq)
{
Eina_Bool pending;
@@ -564,7 +564,7 @@ eina_freeq_ptr_pending(Eina_FreeQ *fq)
return pending;
}
-EAPI void
+EINA_API void
eina_freeq_ptr_add(Eina_FreeQ *fq,
void *ptr,
void (*free_func) (void *ptr),