diff options
author | David Robillard <d@drobilla.net> | 2019-08-04 22:08:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:34:39 +0200 |
commit | 59359e4f3d81231e7c665aa53ceeba7de0671d95 (patch) | |
tree | bf471b3f58724a5ef4a701dfefac1b905207eb52 /pugl/pugl.h | |
parent | 4c6ac6b1c3e9f7ac04b5f6ba0b30eb8eacfcce9c (diff) | |
download | pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.tar.gz pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.tar.bz2 pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.zip |
Make event handler return a status
Currently unused, but this is to leave open the possibility of event
propagation or better errror handling.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 4cf4d7f..51c86a1 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -740,7 +740,7 @@ puglLeaveContext(PuglView* view, bool drawing); /** A function called when an event occurs. */ -typedef void (*PuglEventFunc)(PuglView* view, const PuglEvent* event); +typedef PuglStatus (*PuglEventFunc)(PuglView* view, const PuglEvent* event); /** Set the function to call when an event occurs. |