From e6183b3dbe6b83d642cad1dfb296083ce8c53360 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 May 2021 12:07:17 -0400 Subject: Rename event structs in a more readable style Aside from reading more naturally, this avoids clashes with types that are not events, like PuglEventFlags. This is also more consistent with the C++ bindings, where "EventExpose" would be quite strange, for example. Apologies for the noise. Aliases to the old names will be preserved in the deprecated API like other things for a short while. --- src/win.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win.h') diff --git a/src/win.h b/src/win.h index cf6e19b..fcd92df 100644 --- a/src/win.h +++ b/src/win.h @@ -59,10 +59,10 @@ puglWinConfigure(PuglView* view); PUGL_API PuglStatus -puglWinEnter(PuglView* view, const PuglEventExpose* expose); +puglWinEnter(PuglView* view, const PuglExposeEvent* expose); PUGL_API PuglStatus -puglWinLeave(PuglView* view, const PuglEventExpose* expose); +puglWinLeave(PuglView* view, const PuglExposeEvent* expose); #endif // PUGL_DETAIL_WIN_H -- cgit v1.2.1