{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, 
             FlexibleInstances, TypeSynonymInstances, 
             EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}

module HROOT.Hist.TH1K.RawType where


import Foreign.ForeignPtr
import FFICXX.Runtime.Cast  

data RawTH1K
newtype TH1K = TH1K (ForeignPtr RawTH1K) deriving (Eq, Ord, Show)
instance FPtr TH1K where
   type Raw TH1K = RawTH1K
   get_fptr (TH1K fptr) = fptr
   cast_fptr_to_obj = TH1K