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

data RawEdgeElement

newtype EdgeElement = EdgeElement (Ptr RawEdgeElement)
                        deriving (Eq, Ord, Show)

instance () => FPtr (EdgeElement) where
        type Raw EdgeElement = RawEdgeElement
        get_fptr (EdgeElement ptr) = ptr
        cast_fptr_to_obj = EdgeElement
