{-# LANGUAGE ForeignFunctionInterface, TypeFamilies,
  MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances,
  EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}
module HROOT.Hist.TFitResultPtr.RawType where
import Foreign.Ptr
import FFICXX.Runtime.Cast

data RawTFitResultPtr

newtype TFitResultPtr = TFitResultPtr (Ptr RawTFitResultPtr)
                          deriving (TFitResultPtr -> TFitResultPtr -> Bool
(TFitResultPtr -> TFitResultPtr -> Bool)
-> (TFitResultPtr -> TFitResultPtr -> Bool) -> Eq TFitResultPtr
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TFitResultPtr -> TFitResultPtr -> Bool
== :: TFitResultPtr -> TFitResultPtr -> Bool
$c/= :: TFitResultPtr -> TFitResultPtr -> Bool
/= :: TFitResultPtr -> TFitResultPtr -> Bool
Eq, Eq TFitResultPtr
Eq TFitResultPtr
-> (TFitResultPtr -> TFitResultPtr -> Ordering)
-> (TFitResultPtr -> TFitResultPtr -> Bool)
-> (TFitResultPtr -> TFitResultPtr -> Bool)
-> (TFitResultPtr -> TFitResultPtr -> Bool)
-> (TFitResultPtr -> TFitResultPtr -> Bool)
-> (TFitResultPtr -> TFitResultPtr -> TFitResultPtr)
-> (TFitResultPtr -> TFitResultPtr -> TFitResultPtr)
-> Ord TFitResultPtr
TFitResultPtr -> TFitResultPtr -> Bool
TFitResultPtr -> TFitResultPtr -> Ordering
TFitResultPtr -> TFitResultPtr -> TFitResultPtr
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 :: TFitResultPtr -> TFitResultPtr -> Ordering
compare :: TFitResultPtr -> TFitResultPtr -> Ordering
$c< :: TFitResultPtr -> TFitResultPtr -> Bool
< :: TFitResultPtr -> TFitResultPtr -> Bool
$c<= :: TFitResultPtr -> TFitResultPtr -> Bool
<= :: TFitResultPtr -> TFitResultPtr -> Bool
$c> :: TFitResultPtr -> TFitResultPtr -> Bool
> :: TFitResultPtr -> TFitResultPtr -> Bool
$c>= :: TFitResultPtr -> TFitResultPtr -> Bool
>= :: TFitResultPtr -> TFitResultPtr -> Bool
$cmax :: TFitResultPtr -> TFitResultPtr -> TFitResultPtr
max :: TFitResultPtr -> TFitResultPtr -> TFitResultPtr
$cmin :: TFitResultPtr -> TFitResultPtr -> TFitResultPtr
min :: TFitResultPtr -> TFitResultPtr -> TFitResultPtr
Ord, Int -> TFitResultPtr -> ShowS
[TFitResultPtr] -> ShowS
TFitResultPtr -> String
(Int -> TFitResultPtr -> ShowS)
-> (TFitResultPtr -> String)
-> ([TFitResultPtr] -> ShowS)
-> Show TFitResultPtr
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TFitResultPtr -> ShowS
showsPrec :: Int -> TFitResultPtr -> ShowS
$cshow :: TFitResultPtr -> String
show :: TFitResultPtr -> String
$cshowList :: [TFitResultPtr] -> ShowS
showList :: [TFitResultPtr] -> ShowS
Show)

instance () => FPtr (TFitResultPtr) where
        type Raw TFitResultPtr = RawTFitResultPtr
        get_fptr :: TFitResultPtr -> Ptr (Raw TFitResultPtr)
get_fptr (TFitResultPtr Ptr RawTFitResultPtr
ptr) = Ptr (Raw TFitResultPtr)
Ptr RawTFitResultPtr
ptr
        cast_fptr_to_obj :: Ptr (Raw TFitResultPtr) -> TFitResultPtr
cast_fptr_to_obj = Ptr (Raw TFitResultPtr) -> TFitResultPtr
Ptr RawTFitResultPtr -> TFitResultPtr
TFitResultPtr