mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-28 21:41:15 -03:00
Make function_add take the filename directly instead of a parser
This commit is contained in:
@@ -51,7 +51,7 @@ struct function_data_t {
|
||||
};
|
||||
|
||||
/// Add a function.
|
||||
void function_add(const function_data_t &data, const parser_t &parser);
|
||||
void function_add(const function_data_t &data, const wchar_t *filename);
|
||||
|
||||
/// Remove the function with the specified name.
|
||||
void function_remove(const wcstring &name);
|
||||
|
||||
Reference in New Issue
Block a user