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