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