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