OGDF-1.0.0.0: Haskell binding to OGDF
Safe HaskellSafe-Inferred
LanguageHaskell2010

OGDF.Graph.Cast

Orphan instances

Castable Graph (Ptr RawGraph) Source # 
Instance details

Methods

cast :: Graph -> (Ptr RawGraph -> IO r) -> IO r #

uncast :: Ptr RawGraph -> (Graph -> IO r) -> IO r #

(IGraph a, FPtr a) => Castable a (Ptr RawGraph) Source # 
Instance details

Methods

cast :: a -> (Ptr RawGraph -> IO r) -> IO r #

uncast :: Ptr RawGraph -> (a -> IO r) -> IO r #