aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/function.h')
-rw-r--r--src/function.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/function.h b/src/function.h
index cd3f6f5a..1dd9d613 100644
--- a/src/function.h
+++ b/src/function.h
@@ -179,10 +179,13 @@ std::map<wcstring,env_var_t> function_get_inherit_vars(const wcstring &name);
*/
bool function_copy(const wcstring &name, const wcstring &new_name);
-
/**
Returns whether this function shadows variables of the underlying function
*/
int function_get_shadows(const wcstring &name);
+/** Prepares the environment for executing a function.
+*/
+void function_prepare_environment(const wcstring &name, const wchar_t * const * argv, const std::map<wcstring, env_var_t> &inherited_vars);
+
#endif