From 4ccc197451821c5b4ee64f8dd31567d4ea4ba00f Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 21 Feb 2012 17:55:56 -0800 Subject: Fix to change highlighting functions to take wcstring& instead of const wchar_t * --- reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reader.h') diff --git a/reader.h b/reader.h index 2b2d110d..37da4d1e 100644 --- a/reader.h +++ b/reader.h @@ -138,7 +138,7 @@ void reader_set_complete_function( void (*f)( const wchar_t *, std::vector &, int, wcstring_list_t *, const env_vars &vars ); +typedef void (*highlight_function_t)( const wcstring &, std::vector &, int, wcstring_list_t *, const env_vars &vars ); /** Specify function for syntax highlighting. The function must take these arguments: -- cgit v1.2.3