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