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