Foreign

# Finalised data pointers

data ForeignPtr a

type FinalizerPtr a

type FinalizerEnvPtr env a

## Basic operations

newForeignPtr

newForeignPtr_

addForeignPtrFinalizer

newForeignPtrEnv

addForeignPtrFinalizerEnv

withForeignPtr

finalizeForeignPtr

## Low-level operations

touchForeignPtr

castForeignPtr

## Allocating managed memory

mallocForeignPtr

mallocForeignPtrBytes

mallocForeignPtrArray

mallocForeignPtrArray0

## Unsafe low-level operations

unsafeForeignPtrToPtr

# Unsafe Functions

unsafePerformIO