packages feed

HROOT-hist-0.9: src/HROOT/Hist/TH3/RawType.hs

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

data RawTH3

newtype TH3 = TH3 (Ptr RawTH3)
            deriving (Eq, Ord, Show)

instance FPtr TH3 where
        type Raw TH3 = RawTH3
        get_fptr (TH3 ptr) = ptr
        cast_fptr_to_obj = TH3