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