Closed
Description
We should at least provide a function signature, e.g.
(module
(memory (export "mem") 1)
;;
;; Returns a cleaned valid phone number or an empty string if invalid
;;
;; @param {i32} offset - The offset of the phone number in linear memory.
;; @param {i32} length - The length of the phone number in linear memory.
;;
;; @returns {(i32,i32)} - Offset and length of cleaned phone number or empty string
;; in linear memory.
;;
(func (export "clean") (param $offset i32) (param $length i32) (result i32 i32)
)
)
Metadata
Metadata
Assignees
Labels
No labels