From f0e1ae9c21b40815bb59528b71c3b99cefab34d9 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 19 Jul 2021 23:13:05 -0400 Subject: [PATCH] Fix visibility of CallAfter and Yield on Windows --- libraries/lib-basic-ui/BasicUI.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/lib-basic-ui/BasicUI.h b/libraries/lib-basic-ui/BasicUI.h index e7f469476..e5d3000dd 100644 --- a/libraries/lib-basic-ui/BasicUI.h +++ b/libraries/lib-basic-ui/BasicUI.h @@ -219,7 +219,7 @@ BASIC_UI_API Services *Install(Services *pInstance); are yet installed, the action is not lost, but may be dispatched by Yield(). The action may itself invoke CallAfter to enqueue other actions. */ -void CallAfter(Action action); +BASIC_UI_API void CallAfter(Action action); //! Dispatch waiting events, including actions enqueued by CallAfter /*! This function must be called by the main thread. Actions enqueued by @@ -227,7 +227,7 @@ void CallAfter(Action action); they were enqueued, unless an exception thrown by one of them stops the dispatching. */ -void Yield(); +BASIC_UI_API void Yield(); //! Show an error dialog with a link to the manual for further help inline void ShowErrorDialog(