Skip to main content

Module ffi

Module ffi 

Source
Expand description

FFI Bindings

This module contains bindings to the C library types and functions that are required to execute jets. It is split into several modules, each one corresponding to a .h file in the C library.

All types are converted to CamelCase and prefixed with the letter C; function names are unchanged.

Modules§

bounded
sha256

Enums§

c_void
Equivalent to C’s void type when used as a pointer.

Constants§

BUDGET_MAX
Used with evalTCOProgram to enforce consensus limits.
UBOUNDED_MAX
The max value of UBOUNDED_MAX

Statics§

c_alignof_UWORD⚠
c_alignof_int⚠
c_alignof_long_double⚠
c_alignof_size_t⚠
c_alignof_ubounded⚠
c_alignof_uchar⚠
c_alignof_uint⚠
c_alignof_uint_fast8_t⚠
c_alignof_uint_fast16_t⚠
c_alignof_uint_fast32_t⚠
c_alignof_uint_fast64_t⚠
c_alignof_uint_least32_t⚠
c_sizeof_UWORD⚠
c_sizeof_int⚠
c_sizeof_long_double⚠
c_sizeof_size_t⚠
c_sizeof_ubounded⚠
c_sizeof_uchar⚠
c_sizeof_uint⚠
c_sizeof_uint_fast8_t⚠
c_sizeof_uint_fast16_t⚠
c_sizeof_uint_fast32_t⚠
c_sizeof_uint_fast64_t⚠
c_sizeof_uint_least32_t⚠

Type Aliases§

UWORD
c_int
c_size_t
c_uchar
c_uint
c_uint_fast8_t
c_uint_fast16_t
c_uint_fast32_t
c_uint_fast64_t
c_uint_least32_t
ubounded