Is this a good macro for sending a list? SEND_DIR_LIST(path_modules, E_IPC_OP_MODULES_LIST_REPLY) ...

SVN revision: 15063
This commit is contained in:
handyande 2005-06-02 17:43:24 +00:00 committed by handyande
parent 3e657561be
commit 669f31088a
1 changed files with 9 additions and 1 deletions

View File

@ -126,9 +126,17 @@ break;
#define DECODE(__dec) \
if (__dec(e->data, e->size, &dat))
#endif
#define SEND_DIR_LIST(__pathtype, __replytype) \
GENERIC(HDL); \
Evas_List *dir_list; \
dir_list = e_path_dir_list_get(__pathtype); \
ENCODE(dir_list, e_ipc_codec_str_list_enc); \
SEND_DATA(__replytype); \
END_GENERIC();
#endif