pub unsafe extern "C" fn WasmEdge_ConfigureAddProposal(
    Cxt: *mut WasmEdge_ConfigureContext,
    Prop: WasmEdge_Proposal
)
Expand description

Add a proposal setting into the WasmEdge_ConfigureContext.

For turning on a specific WASM proposal in WasmEdge_VMContext, you can set the proposal value into the WasmEdge_ConfigureContext and create VM with this context.

WasmEdge_ConfigureContext *Conf = WasmEdge_ConfigureCreate();
WasmEdge_ConfigureAddProposal(Conf, WasmEdge_Proposal_BulkMemoryOperations);
WasmEdge_ConfigureAddProposal(Conf, WasmEdge_Proposal_ReferenceTypes);
WasmEdge_ConfigureAddProposal(Conf, WasmEdge_Proposal_SIMD);
WasmEdge_VMContext *VM = WasmEdge_VMCreate(Conf, NULL);

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to add the proposal value. \param Prop the proposal value.