aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r--pugl/detail/win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index 5a3dc43..36f76eb 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -726,12 +726,14 @@ puglRequestAttention(PuglView* view)
return PUGL_SUCCESS;
}
+#ifndef PUGL_DISABLE_DEPRECATED
PuglStatus
puglWaitForEvent(PuglView* PUGL_UNUSED(view))
{
WaitMessage();
return PUGL_SUCCESS;
}
+#endif
PUGL_API PuglStatus
puglDispatchEvents(PuglWorld* PUGL_UNUSED(world))
@@ -761,11 +763,13 @@ puglDispatchEvents(PuglWorld* PUGL_UNUSED(world))
return PUGL_SUCCESS;
}
+#ifndef PUGL_DISABLE_DEPRECATED
PuglStatus
puglProcessEvents(PuglView* view)
{
return puglDispatchEvents(view->world);
}
+#endif
LRESULT CALLBACK
wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)