{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Class.TRint.RawType where -- import Foreign.Ptr import Foreign.ForeignPtr -- import Foreign.Marshal.Array import HROOT.TypeCast data RawTRint newtype TRint = TRint (ForeignPtr RawTRint) deriving (Eq, Ord, Show) instance FPtr TRint where type Raw TRint = RawTRint get_fptr (TRint fptr) = fptr cast_fptr_to_obj = TRint