summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-01-17 14:07:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-01-17 14:21:17 +0900
commitffbc0645e57d7cad01e5c11044bcb8c7688c6e27 (patch)
tree4c770ff91722d111285aeed57e952e6738a7e8d9 /src/lib/eina
parent3f24b6ea2f9709fc8b77cc9d2b4580edb60f14fe (diff)
eina: Remove EAPI eina_freeq_main_set()
I believe this function is not required and should not be used by applications. If there is a very good use case to use your own main freeq, then the API could be added again. For now, removing the set() is probably the safer option. Note: the API was introduced in the upcoming 1.19
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_freeq.c3
-rw-r--r--src/lib/eina/eina_freeq.h10
-rw-r--r--src/lib/eina/eina_private.h6
3 files changed, 7 insertions, 12 deletions
diff --git a/src/lib/eina/eina_freeq.c b/src/lib/eina/eina_freeq.c
index 0485501c03..898e8c9ca8 100644
--- a/src/lib/eina/eina_freeq.c
+++ b/src/lib/eina/eina_freeq.c
@@ -254,8 +254,7 @@ eina_freeq_type_get(Eina_FreeQ *fq)
254 return EINA_FREEQ_DEFAULT; 254 return EINA_FREEQ_DEFAULT;
255} 255}
256 256
257/* FIXME This function should not exist as an EAPI */ 257void
258EAPI void
259eina_freeq_main_set(Eina_FreeQ *fq) 258eina_freeq_main_set(Eina_FreeQ *fq)
260{ 259{
261 if (!fq) return; 260 if (!fq) return;
diff --git a/src/lib/eina/eina_freeq.h b/src/lib/eina/eina_freeq.h
index 7b34669452..e6fed415c2 100644
--- a/src/lib/eina/eina_freeq.h
+++ b/src/lib/eina/eina_freeq.h
@@ -150,16 +150,6 @@ EAPI Eina_FreeQ_Type
150eina_freeq_type_get(Eina_FreeQ *fq); 150eina_freeq_type_get(Eina_FreeQ *fq);
151 151
152/** 152/**
153 * @brief Set the main free queue driven by the EFL mainloop.
154 *
155 * @param fq The free queue to set as the main loop one.
156 *
157 * @since 1.19
158 */
159EAPI void
160eina_freeq_main_set(Eina_FreeQ *fq);
161
162/**
163 * @brief Get the main loop free queue. 153 * @brief Get the main loop free queue.
164 * 154 *
165 * @return The main loop free queue. 155 * @return The main loop free queue.
diff --git a/src/lib/eina/eina_private.h b/src/lib/eina/eina_private.h
index 810e4b26e5..d032f84fbd 100644
--- a/src/lib/eina/eina_private.h
+++ b/src/lib/eina/eina_private.h
@@ -138,6 +138,12 @@ void eina_cpu_count_internal(void);
138 138
139void eina_file_mmap_faulty(void *addr, long page_size); 139void eina_file_mmap_faulty(void *addr, long page_size);
140 140
141#ifndef EINA_FREEQ_H_
142typedef struct _Eina_FreeQ Eina_FreeQ;
143#endif
144
145void eina_freeq_main_set(Eina_FreeQ *fq);
146
141#include "eina_inline_private.h" 147#include "eina_inline_private.h"
142 148
143#endif /* EINA_PRIVATE_H_ */ 149#endif /* EINA_PRIVATE_H_ */