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

data RawGraphIO

newtype GraphIO = GraphIO (Ptr RawGraphIO)
                    deriving (Eq, Ord, Show)

instance () => FPtr (GraphIO) where
        type Raw GraphIO = RawGraphIO
        get_fptr (GraphIO ptr) = ptr
        cast_fptr_to_obj = GraphIO
