aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-24 12:13:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-24 12:19:31 -0800
commita515db4aea51a032b06eb463fcc5a5b70066a18c (patch)
tree68774c3b9afbdadfbdde6ecdf8934b3099cdb331 /expand.cpp
parent90e979d0d9a94601fc9a0c1e5ad785ede1e92381 (diff)
Some work to allow completions to be evaluated off of the main thread
Diffstat (limited to 'expand.cpp')
-rw-r--r--expand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/expand.cpp b/expand.cpp
index 497842b7..67253fac 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -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;