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