forked from enlightenment/enlightenment
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:
parent
3e657561be
commit
669f31088a
|
@ -126,9 +126,17 @@ break;
|
||||||
#define DECODE(__dec) \
|
#define DECODE(__dec) \
|
||||||
if (__dec(e->data, e->size, &dat))
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue