Make function_add take the filename directly instead of a parser

This commit is contained in:
ridiculousfish
2019-11-12 10:00:42 -08:00
parent b51edcfcac
commit 6d7a66592b
4 changed files with 5 additions and 6 deletions

View File

@@ -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);