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