Some work to allow completions to be evaluated off of the main thread

This commit is contained in:
ridiculousfish
2012-02-24 12:13:35 -08:00
parent 90e979d0d9
commit a515db4aea
12 changed files with 144 additions and 129 deletions

View File

@@ -1429,7 +1429,7 @@ static void remove_internal_separator2( wcstring &s, int conv )
}
int expand_string( const wcstring &input, std::vector<completion_t> &output, int flags )
int expand_string( const wcstring &input, std::vector<completion_t> &output, expand_flags_t flags )
{
parser_t parser(PARSER_TYPE_ERRORS_ONLY);
std::vector<completion_t> list1, list2;
@@ -1639,7 +1639,7 @@ int expand_string( const wcstring &input, std::vector<completion_t> &output, int
return res;
}
bool expand_one(wcstring &string, int flags) {
bool expand_one(wcstring &string, expand_flags_t flags) {
std::vector<completion_t> completions;
bool result = false;