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