diff options
author | axel <axel@liljencrantz.se> | 2006-06-13 00:12:33 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-13 00:12:33 +1000 |
commit | d32751df13ba9707afb58eec6159835746bc18e4 (patch) | |
tree | 447ff6344786efe1fc6909f9d8b6f0ee7fa61e56 /parser.h | |
parent | 038dcca143b8dbcee490868a1486f1ec5409574e (diff) |
Use halloc in a few more places, including the highlight code
darcs-hash:20060612141233-ac50b-1c44411dd31cdc31d6ccb226f567c308c4fc0f55.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -204,9 +204,10 @@ extern io_data_t *block_io; Finds the full path of an executable in a newly allocated string. \param cmd The name of the executable. + \param context the halloc context to use for memory allocations \return 0 if the command can not be found, the path of the command otherwise. */ -wchar_t *get_filename( const wchar_t *cmd ); +wchar_t *parser_get_filename( void *context, const wchar_t *cmd ); /** Evaluate the expressions contained in cmd. @@ -337,7 +338,7 @@ int parser_test_args( const wchar_t * buff, string_buffer_t *out, const wchar_t directories i the CDPATH, the full path is returned. If no directory can be found, 0 is returned. */ -wchar_t *parser_cdpath_get( wchar_t *in ); +wchar_t *parser_cdpath_get( void *context, wchar_t *in ); /** Tell the parser that the specified function may not be run if not |