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

data RawGraphAttributes

newtype GraphAttributes = GraphAttributes (Ptr RawGraphAttributes)
                            deriving (Eq, Ord, Show)

instance () => FPtr (GraphAttributes) where
        type Raw GraphAttributes = RawGraphAttributes
        get_fptr (GraphAttributes ptr) = ptr
        cast_fptr_to_obj = GraphAttributes
