Module simplicity_sys::ffi
source · Expand description
FFI Bindings
This module contains all bindings to the C library types and functions.
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§
- Renamed from
type
in the C code
Enums§
- Simplicity error codes
Constants§
- Used with
evalTCOProgram
to enforce consensus limits. - The max value of UBOUNDED_MAX
Statics§
Type Aliases§
- Used in C code to give the project a Win32 vibe; actually defined as
uint_least16_t
. - Used in the C code for various purposes; actually defined as
uint_least32_t
which seems not to have an equivalent in Rust libc.