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