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