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