|
|
| version 1.3.2.4, 2010/04/05 08:51:34 | version 1.3.2.5, 2010/04/06 11:48:24 |
|---|---|
| Line 261 int io_Cmd_Exit(void *cmds, FILE *out, char ** __restr | Line 261 int io_Cmd_Exit(void *cmds, FILE *out, char ** __restr |
| } | } |
| /* | /* |
| * io_Make_Comp_Args - Declare helper function for Arguments completion | |
| */ | |
| #define IO_MAKE_COMP_ARGS(FUNC, ARGS) \ | |
| char *FUNC(const char *text, int state) \ | |
| { \ | |
| while (ARGS[state]) \ | |
| return strdup(ARGS[state]); \ | |
| return NULL; \ | |
| } | |
| /* | |
| * io_Comp_Filename() Builtin helper function for filename completion arguments | * io_Comp_Filename() Builtin helper function for filename completion arguments |
| * @text = Text line | * @text = Text line |
| * @state = Position state | * @state = Position state |