dear-imgui-raw-implot-1.0.0: src/DearImGui/ImPlot/Context.hs
-- | Exception-safe scope around 'ImPlot.createContext' / 'ImPlot.destroyContext'. module DearImGui.ImPlot.Context ( withContext ) where import Control.Monad.IO.Unlift (MonadUnliftIO) import DearImGui.Bracket (withCreated) import DearImGui.Raw.ImPlot qualified as ImPlot withContext :: (MonadUnliftIO m) => m a -> m a withContext = withCreated ImPlot.createContext ImPlot.destroyContext