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

data RawGraph

newtype Graph = Graph (Ptr RawGraph)
                  deriving (Eq, Ord, Show)

instance () => FPtr (Graph) where
        type Raw Graph = RawGraph
        get_fptr (Graph ptr) = ptr
        cast_fptr_to_obj = Graph
