Factor function environment preparation into its own function

This commit is contained in:
ridiculousfish
2015-08-15 13:37:17 -07:00
parent 60798798ef
commit 93d57bd73a
8 changed files with 68 additions and 56 deletions

View File

@@ -137,12 +137,6 @@ size_t parse_util_get_offset_from_line(const wcstring &str, int line);
*/
size_t parse_util_get_offset(const wcstring &str, int line, long line_offset);
/**
Set the argv environment variable to the specified null-terminated
array of strings.
*/
void parse_util_set_argv(const wchar_t * const *argv, const wcstring_list_t &named_arguments);
/**
Make a duplicate of the specified string, unescape wildcard
characters but not performing any other character transformation.