{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Graf.TArc.RawType where import Foreign.Ptr import FFICXX.Runtime.Cast data RawTArc newtype TArc = TArc (Ptr RawTArc) deriving (Eq, Ord, Show) instance FPtr TArc where type Raw TArc = RawTArc get_fptr (TArc ptr) = ptr cast_fptr_to_obj = TArc