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