static NativeSymbol native_symbols[] = { {"fail_start_trace", (void *)host_fail_start_trace, "()", NULL}, {"fail_stop_trace", (void *)host_fail_stop_trace, "()", NULL}, {"fail_marker_positive", (void *)host_fail_marker_positive, "()", NULL}, {"fail_marker_negative", (void *)host_fail_marker_negative, "()", NULL}, {"fail_marker_detected", (void *)host_fail_marker_detected, "()", NULL}, }; int count = sizeof(native_symbols) / sizeof(NativeSymbol); if (!wasm_runtime_register_natives("env", native_symbols, count)) { goto error_cleanup; }