Skip to content

Commit 33d423d

Browse files
committed
Removed commented functions
1 parent 55e6316 commit 33d423d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

recipes/wasmi/all/patches/0001-xrplf-0.42.1.patch

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ index b15c787a..54eaed2d 100644
6767
- COMMENT "clang-format: Apply formatting rules for Wasmi C-API header files"
6868
-)
6969
diff --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

0 commit comments

Comments
 (0)