License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- bool# :: Int# -> Bool
- data PinnedStatus
- toPinnedStatus# :: Pinned# -> PinnedStatus
- compatAndI# :: Int# -> Int# -> Int#
- compatQuotRemInt# :: Int# -> Int# -> (#Int#, Int##)
- compatCopyAddrToByteArray# :: Addr# -> MutableByteArray# s -> Int# -> Int# -> State# s -> State# s
- compatCopyByteArrayToAddr# :: ByteArray# -> Int# -> Addr# -> Int# -> State# s -> State# s
- compatMkWeak# :: o -> b -> IO () -> State# RealWorld -> (#State# RealWorld, Weak# b#)
- compatGetSizeofMutableByteArray# :: MutableByteArray# s -> State# s -> (#State# s, Int##)
- compatShrinkMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, MutableByteArray# s#)
- compatResizeMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, MutableByteArray# s#)
- compatIsByteArrayPinned# :: ByteArray# -> Pinned#
- compatIsMutableByteArrayPinned# :: MutableByteArray# s -> Pinned#
- data Word :: * = W# Word#
Documentation
bool# :: Int# -> Bool Source #
turn an Int# into a Bool
Since GHC 7.8, boolean primitive don't return Bool but Int#.
data PinnedStatus Source #
Flag record whether a specific byte array is pinned or not
compatCopyAddrToByteArray# :: Addr# -> MutableByteArray# s -> Int# -> Int# -> State# s -> State# s Source #
A version friendly fo copyAddrToByteArray#
only available from GHC 7.8
compatCopyByteArrayToAddr# :: ByteArray# -> Int# -> Addr# -> Int# -> State# s -> State# s Source #
A version friendly fo copyByteArrayToAddr#
only available from GHC 7.8
compatGetSizeofMutableByteArray# :: MutableByteArray# s -> State# s -> (#State# s, Int##) Source #
compatShrinkMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, MutableByteArray# s#) Source #
compatResizeMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, MutableByteArray# s#) Source #