aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.h
diff options
context:
space:
mode:
authorGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
committerGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
commit9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (patch)
treee846e195756904d8c007ae1f33e77a53d696102c /highlight.h
parent203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (diff)
Improve const and signed/unsigned correctness
Diffstat (limited to 'highlight.h')
-rw-r--r--highlight.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/highlight.h b/highlight.h
index 7f2bff6d..f7ec8877 100644
--- a/highlight.h
+++ b/highlight.h
@@ -73,7 +73,7 @@
\param pos the cursor position. Used for quote matching, etc.
\param error a list in which a description of each error will be inserted. May be 0, in whcich case no error descriptions will be generated.
*/
-void highlight_shell( const wchar_t *, int *, int, array_list_t *, const env_vars &vars );
+void highlight_shell( const wchar_t *buff, int *color, int pos, array_list_t *error, const env_vars &vars );
/**
Perform syntax highlighting for the text in buff. Matching quotes and paranthesis are highlighted. The result is
@@ -85,7 +85,7 @@ void highlight_shell( const wchar_t *, int *, int, array_list_t *, const env_var
\param pos the cursor position. Used for quote matching, etc.
\param error a list in which a description of each error will be inserted. May be 0, in whcich case no error descriptions will be generated.
*/
-void highlight_universal( const wchar_t *, int *, int, array_list_t *, const env_vars &vars );
+void highlight_universal( const wchar_t *buff, int *color, int pos, array_list_t *error, const env_vars &vars );
/**
Translate from HIGHLIGHT_* to FISH_COLOR_* according to environment