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