{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module OGDF.DRect.Implementation where import Data.Monoid import Data.Word import Data.Int import Foreign.C import Foreign.Ptr import Language.Haskell.TH import Language.Haskell.TH.Syntax import System.IO.Unsafe import FFICXX.Runtime.Cast import FFICXX.Runtime.CodeGen.Cxx import FFICXX.Runtime.TH import OGDF.DRect.RawType import OGDF.DRect.FFI import OGDF.DRect.Interface import OGDF.DRect.Cast import OGDF.DRect.RawType import OGDF.DRect.Cast import OGDF.DRect.Interface import STD.Deletable.RawType import STD.Deletable.Cast import STD.Deletable.Interface instance () => IDRect (DRect) where instance () => IDeletable (DRect) where delete :: DRect -> IO () delete = (Ptr RawDRect -> IO ()) -> DRect -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawDRect -> IO () c_drect_delete dRect_height :: () => DRect -> IO CDouble dRect_height :: DRect -> IO CDouble dRect_height = (Ptr RawDRect -> IO CDouble) -> DRect -> IO CDouble forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawDRect -> IO CDouble c_drect_drect_height dRect_width :: () => DRect -> IO CDouble dRect_width :: DRect -> IO CDouble dRect_width = (Ptr RawDRect -> IO CDouble) -> DRect -> IO CDouble forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawDRect -> IO CDouble c_drect_drect_width