From 51e6028951bfb88f072a795fc1988879b15b74c9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 5 Dec 2014 21:58:16 -0500 Subject: Made the various event handler arrays const. --- wintable/new/events.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'wintable/new/events.h') diff --git a/wintable/new/events.h b/wintable/new/events.h index cef722a..e37ea03 100644 --- a/wintable/new/events.h +++ b/wintable/new/events.h @@ -1,34 +1,34 @@ // 5 december 2014 -static handlerfunc keyDownHandlers[] = { +static consst handlerfunc keyDownHandlers[] = { NULL, }; -static handlerfunc keyUpHandlers[] = { +static const handlerfunc keyUpHandlers[] = { NULL, }; -static handlerfunc charHandlers[] = { +static const handlerfunc charHandlers[] = { NULL, }; -static handlerfunc mouseMoveHandlers[] = { +static const handlerfunc mouseMoveHandlers[] = { NULL, }; -static handlerfunc mouseLeaveHandlers[] = { +static const handlerfunc mouseLeaveHandlers[] = { NULL, }; -static handlerfunc lbuttonDownHandlers[] = { +static const handlerfunc lbuttonDownHandlers[] = { NULL, }; -static handlerufnc lbuttonUpHandlers[] = { +static const handlerufnc lbuttonUpHandlers[] = { NULL, }; -static handlerfunc mouseWheelHandlers[] = { +static const handlerfunc mouseWheelHandlers[] = { NULL, }; -- cgit v1.2.3