Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <barretenberg/common/wasm_export.hpp>
Go to the source code of this file.
Functions | |
void | __wasm_call_ctors (void) |
WASM_EXPORT void | _initialize () |
|
extern |
WASI "reactors" expect an exported _initialize function, and for it to be called before any other exported function. It triggers initialization of all globals and statics. If you don't do this, every function call will trigger the initialization of globals as if they are "main". Good luck with that...
WASM_EXPORT void _initialize | ( | ) |
Definition at line 11 of file wasm_init.cpp.