{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Hist.TH2C.RawType where import Foreign.Ptr import FFICXX.Runtime.Cast data RawTH2C newtype TH2C = TH2C (Ptr RawTH2C) deriving (TH2C -> TH2C -> Bool (TH2C -> TH2C -> Bool) -> (TH2C -> TH2C -> Bool) -> Eq TH2C forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: TH2C -> TH2C -> Bool == :: TH2C -> TH2C -> Bool $c/= :: TH2C -> TH2C -> Bool /= :: TH2C -> TH2C -> Bool Eq, Eq TH2C Eq TH2C -> (TH2C -> TH2C -> Ordering) -> (TH2C -> TH2C -> Bool) -> (TH2C -> TH2C -> Bool) -> (TH2C -> TH2C -> Bool) -> (TH2C -> TH2C -> Bool) -> (TH2C -> TH2C -> TH2C) -> (TH2C -> TH2C -> TH2C) -> Ord TH2C TH2C -> TH2C -> Bool TH2C -> TH2C -> Ordering TH2C -> TH2C -> TH2C forall a. Eq a -> (a -> a -> Ordering) -> (a -> a -> Bool) -> (a -> a -> Bool) -> (a -> a -> Bool) -> (a -> a -> Bool) -> (a -> a -> a) -> (a -> a -> a) -> Ord a $ccompare :: TH2C -> TH2C -> Ordering compare :: TH2C -> TH2C -> Ordering $c< :: TH2C -> TH2C -> Bool < :: TH2C -> TH2C -> Bool $c<= :: TH2C -> TH2C -> Bool <= :: TH2C -> TH2C -> Bool $c> :: TH2C -> TH2C -> Bool > :: TH2C -> TH2C -> Bool $c>= :: TH2C -> TH2C -> Bool >= :: TH2C -> TH2C -> Bool $cmax :: TH2C -> TH2C -> TH2C max :: TH2C -> TH2C -> TH2C $cmin :: TH2C -> TH2C -> TH2C min :: TH2C -> TH2C -> TH2C Ord, Int -> TH2C -> ShowS [TH2C] -> ShowS TH2C -> String (Int -> TH2C -> ShowS) -> (TH2C -> String) -> ([TH2C] -> ShowS) -> Show TH2C forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> TH2C -> ShowS showsPrec :: Int -> TH2C -> ShowS $cshow :: TH2C -> String show :: TH2C -> String $cshowList :: [TH2C] -> ShowS showList :: [TH2C] -> ShowS Show) instance () => FPtr (TH2C) where type Raw TH2C = RawTH2C get_fptr :: TH2C -> Ptr (Raw TH2C) get_fptr (TH2C Ptr RawTH2C ptr) = Ptr (Raw TH2C) Ptr RawTH2C ptr cast_fptr_to_obj :: Ptr (Raw TH2C) -> TH2C cast_fptr_to_obj = Ptr (Raw TH2C) -> TH2C Ptr RawTH2C -> TH2C TH2C