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