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