aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar Julian Aron Prenner <julian@linux4you.it>2014-01-15 15:27:06 +0100
committerGravatar Julian Aron Prenner <julian@linux4you.it>2014-01-15 15:27:06 +0100
commit213e9070446b60c9e6ad7140a6063cd957f241e4 (patch)
tree84020202d4daa8df2db3b2533e8963217bb46c49 /complete.h
parentc8d5131a42b8117987d2a278d69edb21a7cf9383 (diff)
parent370b47d23f3cfde3e385c2268adb95229f0f7ed7 (diff)
Merge remote-tracking branch 'upstream/master' into bind_mode
Conflicts: builtin.cpp reader.cpp share/functions/fish_default_key_bindings.fish
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/complete.h b/complete.h
index cd4f22a1..30a01f72 100644
--- a/complete.h
+++ b/complete.h
@@ -121,10 +121,10 @@ public:
The COMPLETE_NO_CASE can be used to signal that this completion
is case insensitive.
*/
- int flags;
+ complete_flags_t flags;
/* Construction. Note: defining these so that they are not inlined reduces the executable size. */
- completion_t(const wcstring &comp, const wcstring &desc = L"", string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), int flags_val = 0);
+ completion_t(const wcstring &comp, const wcstring &desc = wcstring(), string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), complete_flags_t flags_val = 0);
completion_t(const completion_t &);
completion_t &operator=(const completion_t &);
@@ -268,7 +268,7 @@ void complete_load(const wcstring &cmd, bool reload);
\param flags completion flags
*/
-void append_completion(std::vector<completion_t> &completions, const wcstring &comp, const wcstring &desc = L"", int flags = 0, string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact));
+void append_completion(std::vector<completion_t> &completions, const wcstring &comp, const wcstring &desc = wcstring(), int flags = 0, string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact));
/* Function used for testing */
void complete_set_variable_names(const wcstring_list_t *names);