From 2af5150dcdc44df621afe4456b31895051b0279f Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 8 Apr 2024 15:08:45 +0900 Subject: [PATCH] guest_c: bump wasi:io/poll to 0.2.0 --- guest_c/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guest_c/main.c b/guest_c/main.c index 2d5e133..8dc25ef 100644 --- a/guest_c/main.c +++ b/guest_c/main.c @@ -311,15 +311,15 @@ exports_wasi_sensor_interface_main() wasi_buffer_pool_buffer_pool_borrow_pool_t borrowed_pool = wasi_buffer_pool_buffer_pool_borrow_pool(pool); - wasi_io_0_2_0_rc_2023_11_10_poll_own_pollable_t poll = + wasi_io_0_2_0_poll_own_pollable_t poll = wasi_buffer_pool_buffer_pool_method_pool_subscribe( borrowed_pool); - wasi_io_0_2_0_rc_2023_11_10_poll_borrow_pollable_t borrowed_poll = - wasi_io_0_2_0_rc_2023_11_10_poll_borrow_pollable(poll); + wasi_io_0_2_0_poll_borrow_pollable_t borrowed_poll = + wasi_io_0_2_0_poll_borrow_pollable(poll); int n = 60; int i; for (i = 0; i < n;) { - wasi_io_0_2_0_rc_2023_11_10_poll_method_pollable_block( + wasi_io_0_2_0_poll_method_pollable_block( borrowed_poll); wasi_buffer_pool_buffer_pool_list_frame_info_t frames; if (!wasi_buffer_pool_buffer_pool_method_pool_read_frames( @@ -354,7 +354,7 @@ exports_wasi_sensor_interface_main() stats.enqueued, stats.dequeued, stats.dropped); fprintf(stderr, "cleaning up\n"); - wasi_io_0_2_0_rc_2023_11_10_poll_pollable_drop_own(poll); + wasi_io_0_2_0_poll_pollable_drop_own(poll); wasi_sensor_sensor_device_drop_own(device); wasi_buffer_pool_buffer_pool_pool_drop_own(pool);