diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-05 21:58:16 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-05 21:58:16 -0500 |
| commit | 51e6028951bfb88f072a795fc1988879b15b74c9 (patch) | |
| tree | c671362814ca05bf2dfde8de3739c9f0c72f5c6b | |
| parent | 61f7316d562f4c02c9e3d1bb30c3ba3963ded4a8 (diff) | |
Made the various event handler arrays const.
| -rw-r--r-- | wintable/new/events.h | 16 |
1 files changed, 8 insertions, 8 deletions
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, }; |
