Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_ipc_handlers.h 


Log Message:
OK, so use a few macros...
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_ipc_handlers.h    2 Jun 2005 17:05:44 -0000       1.12
+++ e_ipc_handlers.h    2 Jun 2005 17:15:00 -0000       1.13
@@ -265,7 +265,7 @@
 #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 @@
      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;
 




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to