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