{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Class.TLegend.RawType where -- import Foreign.Ptr import Foreign.ForeignPtr -- import Foreign.Marshal.Array import HROOT.TypeCast data RawTLegend newtype TLegend = TLegend (ForeignPtr RawTLegend) deriving (Eq, Ord, Show) instance FPtr TLegend where type Raw TLegend = RawTLegend get_fptr (TLegend fptr) = fptr cast_fptr_to_obj = TLegend