packages feed

HROOT-hist-0.10.0.1: src/HROOT/Hist/TFitResult/RawType.hs

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

data RawTFitResult

newtype TFitResult = TFitResult (Ptr RawTFitResult)
                       deriving (Eq, Ord, Show)

instance () => FPtr (TFitResult) where
        type Raw TFitResult = RawTFitResult
        get_fptr (TFitResult ptr) = ptr
        cast_fptr_to_obj = TFitResult