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