[][src]Module weld::runtime::ffi

Foreign function interface for the runtime.

These are functions with a C-based ABI and calling convention. Generated Weld code will call into these functions.

Functions

weld_init

Initialize the runtime.

weld_runst_assert

Check whether cond is 0 (assertion fails).

weld_runst_free

Free memory allocated in this context.

weld_runst_get_errno

Get the errno value.

weld_runst_get_result

Get the result pointer.

weld_runst_init

Returns a new runtime handle.

weld_runst_malloc

Allocate memory within the provided context.

weld_runst_print

Print a value from generated code.

weld_runst_realloc

Reallocate memory within the provided context.

weld_runst_release

Delete a run handle and its allocated memory.

weld_runst_set_errno

Set the errno value.

weld_runst_set_result

Set the result pointer.

Type Definitions

WeldRuntimeContextRef