diff options
author | axel <axel@liljencrantz.se> | 2007-02-25 19:05:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-02-25 19:05:24 +1000 |
commit | a3c5718eb9d34e86b348ce770df0b71906ac64c8 (patch) | |
tree | 41c1d8de01a67e32d8c7be8368ebd118e43fd74e /wildcard.h | |
parent | 9b10fa47621053c6f138fc9be28e8297d69c5b1a (diff) |
Round of bug fixes and minor code improvements after the completions struct update. Moves the file description code to wildcard.c, where it was actually used. Simplifies the memory allocations in that code significantly. Makes sure directoriy names don't get a space inserted after the completion.
darcs-hash:20070225090524-ac50b-4d095bf8da7c788a7828e707556edbdc0bbf5000.gz
Diffstat (limited to 'wildcard.h')
-rw-r--r-- | wildcard.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -87,9 +87,10 @@ int wildcard_has( const wchar_t *str, int internal ); Test wildcard completion */ int wildcard_complete( const wchar_t *str, - const wchar_t *wc, - const wchar_t *desc, - const wchar_t *(*desc_func)(const wchar_t *), - array_list_t *out ); + const wchar_t *wc, + const wchar_t *desc, + const wchar_t *(*desc_func)(const wchar_t *), + array_list_t *out, + int flags ); #endif |