{-# LANGUAGE ForeignFunctionInterface, TypeFamilies,
  MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances,
  EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}
module OGDF.DRect.RawType where
import Foreign.Ptr
import FFICXX.Runtime.Cast

data RawDRect

newtype DRect = DRect (Ptr RawDRect)
                  deriving (Eq, Ord, Show)

instance () => FPtr (DRect) where
        type Raw DRect = RawDRect
        get_fptr (DRect ptr) = ptr
        cast_fptr_to_obj = DRect
