Foreign.ForeignPtr.Safe.Compat

# 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