From 031044579c81c3114dbd66d93b73a124de1bef7d Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Mon, 11 Dec 2023 23:51:09 +0000 Subject: wasi-http/echo-request: Update for latest wit-bindgen changes Some of the u8 list types were changed/amalgamated. Signed-off-by: Andrew Clayton --- c/wasi-http/echo-request/component.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c/wasi-http/echo-request/component.c b/c/wasi-http/echo-request/component.c index fde450a..6f4c626 100644 --- a/c/wasi-http/echo-request/component.c +++ b/c/wasi-http/echo-request/component.c @@ -60,16 +60,16 @@ void exports_wasi_http_incoming_handler_handle( wasi_http_types_borrow_outgoing_body_t b_body; wasi_io_streams_own_output_stream_t out_stream; wasi_io_streams_borrow_output_stream_t b_out_stream; - wasi_io_streams_list_u8_t stream_data; + proxy_list_u8_t stream_data; wasi_io_streams_stream_error_t stream_err; wasi_http_types_header_error_t hdr_err; wasi_http_types_field_key_t key; wasi_http_types_field_value_t value; wasi_http_types_method_t method; - wasi_http_types_list_tuple2_field_key_field_value_t fvk; + proxy_list_tuple2_field_key_field_value_t fvk; wasi_http_types_own_input_stream_t in_stream; wasi_io_streams_borrow_input_stream_t b_in_stream; - wasi_io_streams_list_u8_t data; + proxy_list_u8_t data; wasi_io_streams_stream_error_t in_stream_err; proxy_string_t prstr; @@ -102,7 +102,7 @@ void exports_wasi_http_incoming_handler_handle( (int)fvk.ptr[i].f0.len, fvk.ptr[i].f0.ptr, (int)fvk.ptr[i].f1.len, fvk.ptr[i].f1.ptr); - wasi_http_types_list_tuple2_field_key_field_value_free(&fvk); + proxy_list_tuple2_field_key_field_value_free(&fvk); ok = wasi_http_types_method_incoming_request_consume(b_req, &r_body); if (!ok) -- cgit