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