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