| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | ffi@haskell.org |
Foreign
Description
A collection of data types, classes, and functions for interfacing with another programming language.
- module Data.Bits
- module Data.Int
- module Data.Word
- module Foreign.Ptr
- module Foreign.ForeignPtr.Safe
- unsafeForeignPtrToPtr :: ForeignPtr a -> Ptr a
- module Foreign.StablePtr
- module Foreign.Storable
- module Foreign.Marshal
- unsafePerformIO :: IO a -> a
Documentation
module Data.Bits
module Data.Int
module Data.Word
module Foreign.Ptr
module Foreign.ForeignPtr.Safe
Unsafe low-level operations
unsafeForeignPtrToPtr :: ForeignPtr a -> Ptr aSource
module Foreign.StablePtr
module Foreign.Storable
module Foreign.Marshal
Unsafe Functions
unsafePerformIO is exported here for backwards
compatibility reasons only. For doing local marshalling in
the FFI, use unsafeLocalState. For other uses, see
unsafePerformIO.
unsafePerformIO :: IO a -> aSource