summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-10-21 15:54:55 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-10-21 15:54:55 +0000
commit078012878716fb1d6521a7ce13b92da15829b3d7 (patch)
treec7304792bf368091b1d987bf3d71835ed002f85c /legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
parent7e74651236b1ca8fafbe8db23fbd84f328800aab (diff)
Remove Evas_List from Ecore.
SVN revision: 36941
Diffstat (limited to 'legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h')
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index b420cf23b1..59130dbf84 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -143,8 +143,8 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
143/* saves typing function headers */ 143/* saves typing function headers */
144#define ECORE_IPC_DEC_STRUCT_PROTO(x) static int x(void *d, int s, void *pp) 144#define ECORE_IPC_DEC_STRUCT_PROTO(x) static int x(void *d, int s, void *pp)
145#define ECORE_IPC_ENC_STRUCT_PROTO(x) static void *x(void *pp, int *s) 145#define ECORE_IPC_ENC_STRUCT_PROTO(x) static void *x(void *pp, int *s)
146#define ECORE_IPC_DEC_EVAS_LIST_PROTO(x) static Evas_List *x(void *d, int s) 146#define ECORE_IPC_DEC_EINA_LIST_PROTO(x) static Eina_List *x(void *d, int s)
147#define ECORE_IPC_ENC_EVAS_LIST_PROTO(x) static void *x(Evas_List *lp, int *s) 147#define ECORE_IPC_ENC_EINA_LIST_PROTO(x) static void *x(Eina_List *lp, int *s)
148 148
149 149
150/* decoder setup - saves typing. requires data packet of exact size, or fail */ 150/* decoder setup - saves typing. requires data packet of exact size, or fail */
@@ -179,9 +179,9 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
179/* footer for the hell of it */ 179/* footer for the hell of it */
180#define ECORE_IPC_ENC_STRUCT_FOOT() return d 180#define ECORE_IPC_ENC_STRUCT_FOOT() return d
181 181
182#define ECORE_IPC_DEC_EVAS_LIST_HEAD(typ) \ 182#define ECORE_IPC_DEC_EINA_LIST_HEAD(typ) \
183 unsigned char *ptr; \ 183 unsigned char *ptr; \
184 Evas_List *l; \ 184 Eina_List *l; \
185 typ *p; \ 185 typ *p; \
186 l = NULL; \ 186 l = NULL; \
187 ptr = d; \ 187 ptr = d; \
@@ -189,12 +189,12 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
189 { \ 189 { \
190 p = malloc(sizeof(typ)); 190 p = malloc(sizeof(typ));
191 191
192#define ECORE_IPC_DEC_EVAS_LIST_FOOT() \ 192#define ECORE_IPC_DEC_EINA_LIST_FOOT() \
193 l = evas_list_append(l, p); \ 193 l = eina_list_append(l, p); \
194 } \ 194 } \
195 return l 195 return l
196#define ECORE_IPC_ENC_EVAS_LIST_HEAD_START(typ) \ 196#define ECORE_IPC_ENC_EINA_LIST_HEAD_START(typ) \
197 Evas_List *l; \ 197 Eina_List *l; \
198 typ *p; \ 198 typ *p; \
199 unsigned char *d, *ptr; \ 199 unsigned char *d, *ptr; \
200 int len; \ 200 int len; \
@@ -203,7 +203,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
203 for (l = lp; l; l = l->next) \ 203 for (l = lp; l; l = l->next) \
204 { \ 204 { \
205 p = l->data; 205 p = l->data;
206#define ECORE_IPC_ENC_EVAS_LIST_HEAD_FINISH() \ 206#define ECORE_IPC_ENC_EINA_LIST_HEAD_FINISH() \
207 } \ 207 } \
208 d = malloc(len); \ 208 d = malloc(len); \
209 if(!d) return NULL; \ 209 if(!d) return NULL; \
@@ -213,7 +213,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
213 { \ 213 { \
214 p = l->data; 214 p = l->data;
215 215
216#define ECORE_IPC_ENC_EVAS_LIST_FOOT() \ 216#define ECORE_IPC_ENC_EINA_LIST_FOOT() \
217 } \ 217 } \
218 return d 218 return d
219 219