{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Graf.TAttImage.RawType where import Foreign.Ptr import FFICXX.Runtime.Cast data RawTAttImage newtype TAttImage = TAttImage (Ptr RawTAttImage) deriving (Eq, Ord, Show) instance () => FPtr (TAttImage) where type Raw TAttImage = RawTAttImage get_fptr (TAttImage ptr) = ptr cast_fptr_to_obj = TAttImage