coffi v1.0.486
A Foreign Function Interface in Clojure for JDK 22+.
Topics
- Getting Started
- Memory Management
- Built-in Types **WIP**
- Custom Types
- Low-Level Wrappers
- Data Model
- Benchmarks **OUTDATED**
Namespaces
coffi.ffi
Functions for creating handles to native functions and loading native libraries.
Public variables and functions:
coffi.mem
Functions for managing native allocations, memory arenas, and (de)serialization.
Public variables and functions:
- address-of
- address?
- align-of
- alloc
- alloc-instance
- alloc-with
- arena-allocator
- as-segment
- auto-arena
- big-endian
- byte-layout
- c-layout
- char-layout
- clone-segment
- confined-arena
- copy-segment
- defalias
- deserialize
- deserialize*
- deserialize-from
- double-alignment
- double-layout
- double-size
- float-alignment
- float-layout
- float-size
- global-arena
- int-alignment
- int-layout
- int-size
- java-layout
- java-prim-layout
- little-endian
- long-alignment
- long-layout
- long-size
- native-endian
- null
- null?
- pointer-alignment
- pointer-layout
- pointer-size
- primitive-type
- primitive-types
- primitive?
- read-address
- read-byte
- read-char
- read-double
- read-float
- read-int
- read-long
- read-short
- reinterpret
- seq-of
- serialize
- serialize*
- serialize-into
- shared-arena
- short-alignment
- short-layout
- short-size
- size-of
- slice
- slice-segments
- write-address
- write-byte
- write-char
- write-double
- write-float
- write-int
- write-long
- write-short