diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-06 19:17:43 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-18 17:00:26 -0800 |
commit | c39b94949be30dfbc1c3e271b37ca04cff303b16 (patch) | |
tree | 09f608eae67bfacc5412d4fc3f73cd36a12c7996 /src/reader.h | |
parent | 31bc88d16f7396865bbf2c7ae5d3afc80b44e254 (diff) |
Complete to take a pointer to output completions, not a mutable ref
Diffstat (limited to 'src/reader.h')
-rw-r--r-- | src/reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.h b/src/reader.h index b4a159be..73c19c2f 100644 --- a/src/reader.h +++ b/src/reader.h @@ -223,7 +223,7 @@ void reader_pop(); - The command to be completed as a null terminated array of wchar_t - An array_list_t in which completions will be inserted. */ -typedef void (*complete_function_t)(const wcstring &, std::vector<completion_t> &, completion_request_flags_t); +typedef void (*complete_function_t)(const wcstring &, std::vector<completion_t> *, completion_request_flags_t); void reader_set_complete_function(complete_function_t); /** |