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