diff options
| author | dearblue <[email protected]> | 2021-08-21 15:15:20 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-08-23 21:58:57 +0900 |
| commit | 66aa184a82aeb51ae5ec73f5b38a2523e31305fe (patch) | |
| tree | 40cc6067cb75b4f58e2d1dffd6e4c8644850761a /src/opcode.h | |
| parent | 6415faabaaa58481d9cc2209792fe2a93e4243ec (diff) | |
| download | mruby-66aa184a82aeb51ae5ec73f5b38a2523e31305fe.tar.gz mruby-66aa184a82aeb51ae5ec73f5b38a2523e31305fe.zip | |
Checks the frozen object with `mrb_get_args()`
This now works with the `+` modifier that can be added after each specifier.
- `nil` is bypassed.
- The `s` and `z` specifiers are received in C as a `const char *`, so adding a `+` modifier will raise an exception.
- The `a` specifier is received in C as `const mrb_value *`, so adding a `+` modifier will raise an exception.
- The `|`, `*`, `&`, `?` and `:` specifiers with `+` modifier raises an exception.
If `!`/`+` exceeds one for each specifier, an exception will occur in the subsequent processing.
This is the same behavior as before.
Diffstat (limited to 'src/opcode.h')
0 files changed, 0 insertions, 0 deletions
