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

data RawFMMMLayout

newtype FMMMLayout = FMMMLayout (Ptr RawFMMMLayout)
                       deriving (Eq, Ord, Show)

instance () => FPtr (FMMMLayout) where
        type Raw FMMMLayout = RawFMMMLayout
        get_fptr (FMMMLayout ptr) = ptr
        cast_fptr_to_obj = FMMMLayout
