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