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