{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Class.TBranch.RawType where -- import Foreign.Ptr import Foreign.ForeignPtr -- import Foreign.Marshal.Array import HROOT.TypeCast data RawTBranch newtype TBranch = TBranch (ForeignPtr RawTBranch) deriving (Eq, Ord, Show) instance FPtr TBranch where type Raw TBranch = RawTBranch get_fptr (TBranch fptr) = fptr cast_fptr_to_obj = TBranch