{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, 
             FlexibleInstances, TypeSynonymInstances, 
             EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}

module HROOT.Class.TList.RawType where


-- import Foreign.Ptr
import Foreign.ForeignPtr
-- import Foreign.Marshal.Array

import HROOT.TypeCast  

data RawTList
newtype TList = TList (ForeignPtr RawTList) deriving (Eq, Ord, Show)
instance FPtr TList where
   type Raw TList = RawTList
   get_fptr (TList fptr) = fptr
   cast_fptr_to_obj = TList