doc: wasm_functype_new takes ownership of its input (#3957)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
@@ -359,6 +359,8 @@
|
||||
* \brief Creates a new function type with the provided parameter and result
|
||||
* types.
|
||||
*
|
||||
* This function takes ownership of the `params` and `results` arguments.
|
||||
*
|
||||
* The caller is responsible for deleting the returned value.
|
||||
*
|
||||
* \fn const wasm_valtype_vec_t* wasm_functype_params(const wasm_functype_t *);
|
||||
|
||||
Reference in New Issue
Block a user