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