diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-21 11:45:13 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-21 11:45:13 -0800 |
commit | 237cf19a7752602025c5eb131e47088882a59db4 (patch) | |
tree | 67d0ef3050f2de4be18551d3c5482d4a980db2ea /reader.h | |
parent | 2206e221bd58b19141872c062012b6a9db0d73a2 (diff) |
Switch to using std::vector instead of int* for colors in highlight.cpp, for better range bounds checking
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ void reader_set_complete_function( void (*f)( const wchar_t *, std::vector<compl The type of a highlight function. */ class env_vars; -typedef void (*highlight_function_t)( const wchar_t *, int *, int, wcstring_list_t *, const env_vars &vars ); +typedef void (*highlight_function_t)( const wchar_t *, std::vector<int> &, int, wcstring_list_t *, const env_vars &vars ); /** Specify function for syntax highlighting. The function must take these arguments: |