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