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

data RawSugiyamaLayout

newtype SugiyamaLayout = SugiyamaLayout (Ptr RawSugiyamaLayout)
                           deriving (Eq, Ord, Show)

instance () => FPtr (SugiyamaLayout) where
        type Raw SugiyamaLayout = RawSugiyamaLayout
        get_fptr (SugiyamaLayout ptr) = ptr
        cast_fptr_to_obj = SugiyamaLayout
