diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-16 22:26:47 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-16 22:26:47 +0530 |
commit | 140ead65b6a7051a8737623b7201f5b5a07d55d9 (patch) | |
tree | b93cb8f9936db93ae37030272f6d2c5205097987 /wildcard.h | |
parent | f3e2d2f68f14120e298fb1d50be89fa5e83c9222 (diff) |
Converted all auto completion calls (on pressing tab) to use std::vector<completion_t>, bugs are yet to be fixed
Diffstat (limited to 'wildcard.h')
-rw-r--r-- | wildcard.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,6 +24,7 @@ #define WILDCARD_RESERVED 0xf400 +struct completion_t; /** Enumeration of all wildcard types */ @@ -70,7 +71,7 @@ int wildcard_expand( const wchar_t *wc, int flags, array_list_t *out ); -int wildcard_expand_string(const wcstring &wc, const wcstring &base_dir, int flags, wcstring_list_t &out ); +int wildcard_expand_string(const wcstring &wc, const wcstring &base_dir, int flags, std::vector<completion_t> &out ); /** Test whether the given wildcard matches the string @@ -94,7 +95,7 @@ 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, + std::vector<completion_t> &out, int flags ); #endif |