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