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

data RawFastSimpleHierarchyLayout

newtype FastSimpleHierarchyLayout = FastSimpleHierarchyLayout (Ptr
                                                                 RawFastSimpleHierarchyLayout)
                                      deriving (Eq, Ord, Show)

instance () => FPtr (FastSimpleHierarchyLayout) where
        type Raw FastSimpleHierarchyLayout = RawFastSimpleHierarchyLayout
        get_fptr (FastSimpleHierarchyLayout ptr) = ptr
        cast_fptr_to_obj = FastSimpleHierarchyLayout
