aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index a9f527f..e98f3e3 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -912,11 +912,13 @@ puglPollEvents(PuglWorld* world, const double timeout)
return PUGL_SUCCESS;
}
+#ifndef PUGL_DISABLE_DEPRECATED
PuglStatus
puglWaitForEvent(PuglView* view)
{
return puglPollEvents(view->world, -1.0);
}
+#endif
PUGL_API PuglStatus
puglDispatchEvents(PuglWorld* world)
@@ -932,11 +934,13 @@ puglDispatchEvents(PuglWorld* world)
return PUGL_SUCCESS;
}
+#ifndef PUGL_DISABLE_DEPRECATED
PuglStatus
puglProcessEvents(PuglView* view)
{
return puglDispatchEvents(view->world);
}
+#endif
double
puglGetTime(const PuglWorld* world)