diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-16 22:26:47 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-16 22:26:47 +0530 |
commit | 140ead65b6a7051a8737623b7201f5b5a07d55d9 (patch) | |
tree | b93cb8f9936db93ae37030272f6d2c5205097987 /reader.h | |
parent | f3e2d2f68f14120e298fb1d50be89fa5e83c9222 (diff) |
Converted all auto completion calls (on pressing tab) to use std::vector<completion_t>, bugs are yet to be fixed
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,11 +9,14 @@ #ifndef FISH_READER_H #define FISH_READER_H +#include <vector> #include <wchar.h> #include "util.h" #include "io.h" +struct completion_t; + /** Read commands from \c fd until encountering EOF */ @@ -123,7 +126,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. */ -void reader_set_complete_function( void (*f)( const wchar_t *, array_list_t * ) ); +void reader_set_complete_function( void (*f)( const wchar_t *, std::vector<completion_t> & ) ); /** <<<<<<< upstream |