From 3e657561be0a60f922168a20846f0262eae8a002 Mon Sep 17 00:00:00 2001 From: handyande Date: Thu, 2 Jun 2005 17:15:00 +0000 Subject: [PATCH] OK, so use a few macros... SVN revision: 15060 --- src/bin/e_ipc_handlers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_ipc_handlers.h b/src/bin/e_ipc_handlers.h index 197403727..702e6f4bf 100644 --- a/src/bin/e_ipc_handlers.h +++ b/src/bin/e_ipc_handlers.h @@ -265,7 +265,7 @@ break; #elif (TYPE == E_LIB_IN) GENERIC(HDL); Evas_List *dat = NULL; - if (e_ipc_codec_str_int_list_dec(e->data, e->size, &dat)) { + DECODE(e_ipc_codec_str_int_list_dec) { RESPONSE(r, E_Response_Module_List, HDL); /* FIXME - this is a mess, needs to be merged into macros... */ @@ -273,9 +273,9 @@ break; r->modules = malloc(sizeof(E_Response_Module_Data *) * count); r->count = count; + LIST() count = 0; - Evas_List *l; - for (l = dat; l; l = l->next) { + FOR(dat) { E_Response_Module_Data *md; E_Ipc_Str_Int *v;