diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-29 14:11:39 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-29 14:11:39 +0530 |
commit | 1a5d866a916ab0f7e0630c4205f3fff9b6375a3e (patch) | |
tree | 241923557f288d9d1322c263a9a10aba08163390 /expand.h | |
parent | a1d8ed83dd87ef963574ede8818e5fd7389f4c41 (diff) | |
parent | 062e423125bd29b3cae7ba045fca22bd2df3b1cd (diff) |
buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' into CPlusPlus
Diffstat (limited to 'expand.h')
-rw-r--r-- | expand.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -65,6 +65,8 @@ */ #define EXPAND_RESERVED_END 0xf000f +struct completion_t; + enum { /** Character represeting a home directory */ @@ -147,7 +149,7 @@ class parser_t; \return One of EXPAND_OK, EXPAND_ERROR, EXPAND_WILDCARD_MATCH and EXPAND_WILDCARD_NO_MATCH. EXPAND_WILDCARD_NO_MATCH and EXPAND_WILDCARD_MATCH are normal exit conditions used only on strings containing wildcards to tell if the wildcard produced any matches. */ __warn_unused int expand_string( void *context, wchar_t *in, array_list_t *out, int flag ); -__warn_unused int expand_string2( const wcstring &input, std::list<wcstring> &output, int flag ); +__warn_unused int expand_string2( const wcstring &input, std::vector<completion_t> &output, int flag ); /** |