document: Update description about segue opt, update README (#3338)

This commit is contained in:
Wenyong Huang
2024-04-22 14:34:52 +08:00
committed by GitHub
parent 67dc2ae0b2
commit a6e008bca7
4 changed files with 9 additions and 9 deletions

View File

@ -89,7 +89,7 @@ Each letter in the "()" represents a parameter type, and the one following after
- '**I**': i64
- '**f**': f32
- '**F**': f64
- '**r**': externref (has to be the value of a `uintptr_t` variable)
- '**r**': externref (has to be the value of a `uintptr_t` variable), or all kinds of GC reference types when GC feature is enabled
- '**\***': the parameter is a buffer address in WASM application
- '**~**': the parameter is the byte length of WASM buffer as referred by preceding argument "\*". It must follow after '*', otherwise, registration will fail
- '**$**': the parameter is a string in WASM application