File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
recipes/wasmi/all/patches Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ index b15c787a..54eaed2d 100644
6767- COMMENT "clang-format: Apply formatting rules for Wasmi C-API header files"
6868- )
6969diff --git a/crates/c_api/include/wasm.h b/crates/c_api/include/wasm.h
70- index 5ee617ff..37809a6f 100644
70+ index 5ee617ff..5c79bde3 100644
7171--- a/crates/c_api/include/wasm.h
7272+++ b/crates/c_api/include/wasm.h
7373@@ -13,11 +13,17 @@
@@ -89,7 +89,7 @@ index 5ee617ff..37809a6f 100644
8989 #endif
9090
9191 #ifdef __cplusplus
92- @@ -146,6 +152,13 @@ WASM_DECLARE_OWN(store)
92+ @@ -146,6 +152,11 @@ WASM_DECLARE_OWN(store)
9393
9494 WASM_API_EXTERN own wasm_store_t* wasm_store_new(wasm_engine_t*);
9595
@@ -98,8 +98,6 @@ index 5ee617ff..37809a6f 100644
9898+
9999+ WASM_API_EXTERN struct wasmi_error* wasm_store_get_fuel(const wasm_store_t*, uint64_t* fuel);
100100+ WASM_API_EXTERN struct wasmi_error* wasm_store_set_fuel(wasm_store_t*, uint64_t fuel);
101- + //WASM_API_EXTERN void *wasm_store_get_data(const wasm_store_t*);
102- + //WASM_API_EXTERN void wasm_store_set_data(wasm_store_t*, void *data);
103101
104102 ///////////////////////////////////////////////////////////////////////////////
105103 // Type Representations
You can’t perform that action at this time.
0 commit comments