diff options
author | 2013-12-27 01:38:43 -0800 | |
---|---|---|
committer | 2013-12-27 01:38:43 -0800 | |
commit | 6ce4b344e45baaa06bf593a5c0983da7a22eb64e (patch) | |
tree | 2358b60e771c42d29aeb26a03dd95f22cbd8ca15 /builtin.h | |
parent | a6ca809a4e4873f3fd16e4a763001a109afc2185 (diff) |
Hook up for statements, if statements, and function definition in new
parser
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -176,7 +176,10 @@ const wchar_t *builtin_complete_get_temporary_buffer(); Run the __fish_print_help function to obtain the help information for the specified command. */ - wcstring builtin_help_get(parser_t &parser, const wchar_t *cmd); +/** Defines a function, like builtin_function. Returns 0 on success. */ +int define_function(parser_t &parser, const wcstring_list_t &args, const wcstring &contents, wcstring *out_err); + + #endif |