Module prelude

Source
Expand description

Common imports required to use closure-ffi.

Modules§

cc
Defines calling convention marker types for use with BareFn variants.

Macros§

bare_dynproc_macros
Shorthand for a BareFn* type taking a boxed closure.

Structs§

BareFn
Wrapper around a Fn closure which exposes a bare function thunk that can invoke it without additional arguments.
BareFnMut
Wrapper around a FnMut closure which exposes a bare function thunk that can invoke it without additional arguments.
BareFnOnce
Wrapper around a FnOnce closure which exposes a bare function thunk that can invoke it without additional arguments.
JitAllocError
Anonymous error that may be returned by JitAlloc implementations when JitAlloc::alloc or JitAlloc::release fail.

Traits§

JitAlloc
Generic allocator providing virtual memory suitable for emitting code at runtime.