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