summaryrefslogtreecommitdiff
path: root/wintable/NEWutil.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-05 10:18:37 -0500
committerPietro Gagliardi <[email protected]>2014-12-05 10:18:37 -0500
commitf7daa5580f8788a8d15f46b65c2e21ca96db8523 (patch)
treebcf0b22eae544decdd444b83cb00da48293493ae /wintable/NEWutil.h
parent19358785f64d561bcf60370fe2327a3f9722e789 (diff)
Added the new Windows Table event handling framework.
Diffstat (limited to 'wintable/NEWutil.h')
-rw-r--r--wintable/NEWutil.h1
1 files changed, 1 insertions, 0 deletions
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)
{