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