STD.Pair.Template
data RawPair tp1 tp2 Source #
Defined in STD.Pair.Template
Methods
cast :: Pair tp1 tp2 -> (Ptr (RawPair tp1 tp2) -> IO r) -> IO r
uncast :: Ptr (RawPair tp1 tp2) -> (Pair tp1 tp2 -> IO r) -> IO r
newtype Pair tp1 tp2 Source #
Constructors
Associated Types
type Raw (Pair tp1 tp2)
get_fptr :: Pair tp1 tp2 -> Ptr (Raw (Pair tp1 tp2))
cast_fptr_to_obj :: Ptr (Raw (Pair tp1 tp2)) -> Pair tp1 tp2
class IPair tp1 tp2 where Source #
newPair :: tp1 -> tp2 -> IO (Pair tp1 tp2) Source #
deletePair :: Pair tp1 tp2 -> IO () Source #
first_get :: Pair tp1 tp2 -> IO tp1 Source #
first_set :: Pair tp1 tp2 -> tp1 -> IO () Source #
second_get :: Pair tp1 tp2 -> IO tp2 Source #
second_set :: Pair tp1 tp2 -> tp2 -> IO () Source #