diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-24 16:33:15 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-24 16:33:15 +0900 |
| commit | b8b86d197633e79cf2d1f6b9c31db06852c6c2b6 (patch) | |
| tree | f37c75115733fff6683f47e02acf644b34000da4 /include | |
| parent | 6f46f8887334d99fb2ccec7688f99c8bda080408 (diff) | |
| parent | 66aa184a82aeb51ae5ec73f5b38a2523e31305fe (diff) | |
| download | mruby-b8b86d197633e79cf2d1f6b9c31db06852c6c2b6.tar.gz mruby-b8b86d197633e79cf2d1f6b9c31db06852c6c2b6.zip | |
Merge pull request #5535 from dearblue/get-args-frozen
Checks the frozen object with `mrb_get_args()`
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 1cee5b7a6..0563ab577 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -912,6 +912,13 @@ MRB_API struct RClass* mrb_define_module_under_id(mrb_state *mrb, struct RClass * | `:` | keyword args | {mrb_kwargs} const | Get keyword arguments. @see mrb_kwargs | * * @see mrb_get_args + * + * Immediately after format specifiers it can add format modifiers: + * + * | char | Notes | + * |:----:|-----------------------------------------------------------------------------------------| + * | `!` | Switch to the alternate mode; The behaviour changes depending on the format specifier | + * | `+` | Request a not frozen object; However, except nil value | */ typedef const char *mrb_args_format; |
