1use crate::wasm_instance_t;
2use alloc::boxed::Box;
3use core::marker::PhantomData;
4
5#[repr(C)]
7#[derive(Clone)]
8pub struct wasm_frame_t<'a> {
9 _marker: PhantomData<fn() -> &'a ()>,
10}
11
12wasmi_c_api_macros::declare_own!(wasm_frame_t);
13
14#[cfg_attr(not(feature = "prefix-symbols"), no_mangle)]
20#[cfg_attr(feature = "prefix-symbols", wasmi_c_api_macros::prefix_symbol)]
21pub extern "C" fn wasm_frame_func_index(_frame: &wasm_frame_t<'_>) -> u32 {
22 unimplemented!("wasm_frame_func_index")
23}
24
25#[cfg_attr(not(feature = "prefix-symbols"), no_mangle)]
31#[cfg_attr(feature = "prefix-symbols", wasmi_c_api_macros::prefix_symbol)]
32pub extern "C" fn wasm_frame_func_offset(_frame: &wasm_frame_t<'_>) -> usize {
33 unimplemented!("wasm_frame_func_offset")
34}
35
36#[cfg_attr(not(feature = "prefix-symbols"), no_mangle)]
42#[cfg_attr(feature = "prefix-symbols", wasmi_c_api_macros::prefix_symbol)]
43pub extern "C" fn wasm_frame_instance(_arg1: *const wasm_frame_t<'_>) -> *mut wasm_instance_t {
44 unimplemented!("wasm_frame_instance")
45}
46
47#[cfg_attr(not(feature = "prefix-symbols"), no_mangle)]
53#[cfg_attr(feature = "prefix-symbols", wasmi_c_api_macros::prefix_symbol)]
54pub extern "C" fn wasm_frame_module_offset(_frame: &wasm_frame_t<'_>) -> usize {
55 unimplemented!("wasm_frame_module_offset")
56}
57
58#[cfg_attr(not(feature = "prefix-symbols"), no_mangle)]
64#[cfg_attr(feature = "prefix-symbols", wasmi_c_api_macros::prefix_symbol)]
65pub extern "C" fn wasm_frame_copy<'a>(_frame: &wasm_frame_t<'a>) -> Box<wasm_frame_t<'a>> {
66 unimplemented!("wasm_frame_copy")
67}