diff options
author | Julian Aron Prenner <julian@linux4you.it> | 2014-01-15 15:27:06 +0100 |
---|---|---|
committer | Julian Aron Prenner <julian@linux4you.it> | 2014-01-15 15:27:06 +0100 |
commit | 213e9070446b60c9e6ad7140a6063cd957f241e4 (patch) | |
tree | 84020202d4daa8df2db3b2533e8963217bb46c49 /reader.h | |
parent | c8d5131a42b8117987d2a278d69edb21a7cf9383 (diff) | |
parent | 370b47d23f3cfde3e385c2268adb95229f0f7ed7 (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 'reader.h')
-rw-r--r-- | reader.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,6 +16,7 @@ #include "io.h" #include "common.h" #include "complete.h" +#include "highlight.h" class parser_t; class completion_t; @@ -180,7 +181,7 @@ void reader_set_complete_function(complete_function_t); The type of a highlight function. */ class env_vars_snapshot_t; -typedef void (*highlight_function_t)(const wcstring &, std::vector<int> &, size_t, wcstring_list_t *, const env_vars_snapshot_t &vars); +typedef void (*highlight_function_t)(const wcstring &, std::vector<highlight_spec_t> &, size_t, wcstring_list_t *, const env_vars_snapshot_t &vars); /** Specify function for syntax highlighting. The function must take these arguments: @@ -224,7 +225,7 @@ void reader_set_exit_on_interrupt(bool flag); /** Returns true if the shell is exiting, 0 otherwise. */ -int exit_status(); +bool shell_is_exiting(); /** The readers interrupt signal handler. Cancels all currently running blocks. |