Foreign.ForeignPtr

# 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

unsafeForeignPtrToPtr
touchForeignPtr
castForeignPtr

## Allocating managed memory

mallocForeignPtr
mallocForeignPtrBytes
mallocForeignPtrArray
mallocForeignPtrArray0