Commit 1ccaec7
dont use smart pointers to transfer vector data
since `wasm_functype_new` will transfer data ownerships of both `params`
and `resutls` to the new `wasm_functype_t`, we should not
- delete `wasm_valtype_t` of `wasm_valtype_vec_t`
- use `wasm_functype_delete` to release members of `wasm_functype_t`
a good example will be found here:
[multi.c](https://github.com/WebAssembly/wasm-c-api/blob/master/example/multi.c)
another thing is the runtime() should return a string as same as the one in envoy.yaml
update wamr code release to 0.1-beta
Signed-off-by: liam <[email protected]>1 parent 51c47c4 commit 1ccaec7
3 files changed
+15
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | 436 | | |
440 | 437 | | |
441 | 438 | | |
| |||
444 | 441 | | |
445 | 442 | | |
446 | 443 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
451 | 448 | | |
452 | 449 | | |
453 | 450 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
458 | 455 | | |
459 | 456 | | |
460 | 457 | | |
| |||
0 commit comments