argc() -> i32 Returns the number of arguments passed on the wasmvm command line.
| 28 | // argc() -> i32 |
| 29 | // Returns the number of arguments passed on the wasmvm command line. |
| 30 | static std::vector<Value> proc_argc(Stack& stack) { |
| 31 | return {Value(i32_t(wasmvm_args.size()))}; |
| 32 | } |
| 33 | |
| 34 | // argv_len(idx:i32) -> i32 |
| 35 | // Returns the byte length of argument[idx] (not including null terminator), |