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