summaryrefslogtreecommitdiff
path: root/wintable/NEWutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/NEWutil.h')
-rw-r--r--wintable/NEWutil.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/wintable/NEWutil.h b/wintable/NEWutil.h
deleted file mode 100644
index c6cbfb3..0000000
--- a/wintable/NEWutil.h
+++ /dev/null
@@ -1,14 +0,0 @@
-// 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)
-{
- handlerfunc *p;
-
- for (p = list; *p != NULL; p++)
- if ((*(*p))(t, uMsg, wParam, lParam, lResult))
- return TRUE;
- return FALSE;
-}