From 96ca7a5a2ae976c587c676baf87446a55961e507 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Jun 2022 22:34:08 -0400 Subject: Consolidate common deprecated API implementation --- src/common.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src') diff --git a/src/common.c b/src/common.c index dc01da4..9ea3594 100644 --- a/src/common.c +++ b/src/common.c @@ -267,31 +267,3 @@ puglGetContext(PuglView* view) { return view->backend->getContext(view); } - -#ifndef PUGL_DISABLE_DEPRECATED - -PuglStatus -puglPollEvents(PuglWorld* world, double timeout) -{ - return puglUpdate(world, timeout); -} - -PuglStatus -puglDispatchEvents(PuglWorld* world) -{ - return puglUpdate(world, 0.0); -} - -PuglStatus -puglShowWindow(PuglView* view) -{ - return puglShow(view); -} - -PuglStatus -puglHideWindow(PuglView* view) -{ - return puglHide(view); -} - -#endif -- cgit v1.2.1