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