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

data RawOptimalHierarchyLayout

newtype OptimalHierarchyLayout = OptimalHierarchyLayout (Ptr
                                                           RawOptimalHierarchyLayout)
                                   deriving (Eq, Ord, Show)

instance () => FPtr (OptimalHierarchyLayout) where
        type Raw OptimalHierarchyLayout = RawOptimalHierarchyLayout
        get_fptr (OptimalHierarchyLayout ptr) = ptr
        cast_fptr_to_obj = OptimalHierarchyLayout
