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