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

data RawOptimalRanking

newtype OptimalRanking = OptimalRanking (Ptr RawOptimalRanking)
                           deriving (Eq, Ord, Show)

instance () => FPtr (OptimalRanking) where
        type Raw OptimalRanking = RawOptimalRanking
        get_fptr (OptimalRanking ptr) = ptr
        cast_fptr_to_obj = OptimalRanking
