[][src]Crate fluence_sdk_main

The main part of Fluence backend SDK. Contains export_allocator, logger and result modules.

Structs

CallParameters

This struct contains parameters that would be accessible by Wasm modules.

WasmLoggerBuilder

The Wasm logger builder.

Constants

WASM_LOG_ENV_NAME

By default, logger will be initialized with log level from this environment variable.

Functions

allocate

Allocates memory area of specified size and returns its address. Returns 0 if supplied size is too long.

deallocate

Deallocates memory area for provided memory pointer and size. Does nothing if supplied size is too long.

get_result_ptr
get_result_size
set_result_ptr
set_result_size

Type Definitions

TargetMap