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/mac_gl.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mac_gl.m') diff --git a/src/mac_gl.m b/src/mac_gl.m index 24d3846..039dbbf 100644 --- a/src/mac_gl.m +++ b/src/mac_gl.m @@ -145,7 +145,7 @@ puglMacGlDestroy(PuglView* view) } static PuglStatus -puglMacGlEnter(PuglView* view, const PuglEventExpose* PUGL_UNUSED(expose)) +puglMacGlEnter(PuglView* view, const PuglExposeEvent* PUGL_UNUSED(expose)) { PuglOpenGLView* const drawView = (PuglOpenGLView*)view->impl->drawView; @@ -154,7 +154,7 @@ puglMacGlEnter(PuglView* view, const PuglEventExpose* PUGL_UNUSED(expose)) } static PuglStatus -puglMacGlLeave(PuglView* view, const PuglEventExpose* expose) +puglMacGlLeave(PuglView* view, const PuglExposeEvent* expose) { PuglOpenGLView* const drawView = (PuglOpenGLView*)view->impl->drawView; -- cgit v1.2.1