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