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