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