We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc6535 commit 46c8afcCopy full SHA for 46c8afc
crates/moonbit/src/lib.rs
@@ -114,7 +114,7 @@ pub extern "wasm" fn bytes2ptr(bytes : FixedArray[Byte]) -> Int =
114
#|(func (param i32) (result i32) local.get 0 i32.const 8 i32.add)
115
116
extern "wasm" fn ptr2bytes_ffi(ptr : Int) -> FixedArray[Byte] =
117
- #|(func (param i32) (param i32) (result i32) local.get 0 i32.const 8 i32.sub)
+ #|(func (param i32) (result i32) local.get 0 i32.const 8 i32.sub)
118
119
pub fn ptr2bytes(ptr : Int, len : Int) -> FixedArray[Byte] {
120
let words = len / 4 + 1
0 commit comments