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