aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-20 03:01:16 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-20 03:01:16 +1000
commit7dc39349978c2779d92a527e13096b93211b6344 (patch)
treea0c1038dadf5e09c502bd17821b491373e30a1f0 /parse_util.h
parent845e15876c750171103ab9b21927c2fcf9517d8d (diff)
Use variable name as index for tables when autoloading functions and completions in order to better handle changes on path variable values
darcs-hash:20060219170116-ac50b-8f617c6f8960660e6227827914dc910a78655c13.gz
Diffstat (limited to 'parse_util.h')
-rw-r--r--parse_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse_util.h b/parse_util.h
index 0dcd0edb..19591f83 100644
--- a/parse_util.h
+++ b/parse_util.h
@@ -90,17 +90,17 @@ int parse_util_lineno( const wchar_t *str, int len );
not load it multiple times unless it's timestamp changes.
\param cmd the filename to search for. The suffix '.fish' is always added to this name
- \param path_var a list of paths to search in.
+ \param path_var_name the name of an environment variable containing a search path
\param on_load a callback function to run if a suitable file is found, which has not already been run
\param reload wheter to recheck file timestamps on already loaded files
*/
int parse_util_load( const wchar_t *cmd,
- const wchar_t *path_var,
+ const wchar_t *path_var_name,
void (*on_load)(const wchar_t *cmd),
int reload );
/**
- Reset the loader for the specified path value
+ Reset the loader for the specified path variable
*/
void parse_util_load_reset( const wchar_t *path_var );