From f7daa5580f8788a8d15f46b65c2e21ca96db8523 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 5 Dec 2014 10:18:37 -0500 Subject: Added the new Windows Table event handling framework. --- wintable/NEWutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wintable/NEWutil.h') diff --git a/wintable/NEWutil.h b/wintable/NEWutil.h index e10dd77..c6cbfb3 100644 --- a/wintable/NEWutil.h +++ b/wintable/NEWutil.h @@ -1,6 +1,7 @@ // 4 december 2014 typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *); +#define HANDLER(name) static BOOL name(struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) static BOOL runHandlers(handlerfunc *list, struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) { -- cgit v1.2.3