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