From 2f0cb527ea398e0ee8debe86231fd20a0e12d30f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 7 May 2010 12:55:13 +0800 Subject: add const modifier. --- lua/lua-plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/lua-plugin.h') diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h index 8116ae1..9ca3661 100644 --- a/lua/lua-plugin.h +++ b/lua/lua-plugin.h @@ -22,8 +22,8 @@ typedef struct{ } lua_command_candidate_t; typedef struct{ - char * lua_function_name; - char * description; + const char * lua_function_name; + const char * description; /*< private, skip it, and register it into Special Table directly with * wildcard. >*/ /* * list of input_trigger_strings; -- cgit