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