diff options
Diffstat (limited to 'mrbgems/mruby-proc-ext/src/proc.c')
| -rw-r--r-- | mrbgems/mruby-proc-ext/src/proc.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mrbgems/mruby-proc-ext/src/proc.c b/mrbgems/mruby-proc-ext/src/proc.c index 73873a360..783fbbd3a 100644 --- a/mrbgems/mruby-proc-ext/src/proc.c +++ b/mrbgems/mruby-proc-ext/src/proc.c @@ -5,6 +5,9 @@ #include "mruby/string.h" #include "mruby/debug.h" +/** + * @mrbgem mruby-proc-ext + */ static mrb_value mrb_proc_lambda(mrb_state *mrb, mrb_value self) { @@ -12,6 +15,9 @@ mrb_proc_lambda(mrb_state *mrb, mrb_value self) return mrb_bool_value(MRB_PROC_STRICT_P(p)); } +/** + * @mrbgem mruby-proc-ext + */ static mrb_value mrb_proc_source_location(mrb_state *mrb, mrb_value self) { @@ -33,6 +39,9 @@ mrb_proc_source_location(mrb_state *mrb, mrb_value self) } } +/** + * @mrbgem mruby-proc-ext + */ static mrb_value mrb_proc_inspect(mrb_state *mrb, mrb_value self) { @@ -67,6 +76,9 @@ mrb_proc_inspect(mrb_state *mrb, mrb_value self) return str; } +/** + * @mrbgem mruby-proc-ext + */ static mrb_value mrb_kernel_proc(mrb_state *mrb, mrb_value self) { @@ -88,8 +100,9 @@ mrb_kernel_proc(mrb_state *mrb, mrb_value self) * * prc = lambda{|x, y=42, *other|} * prc.parameters #=> [[:req, :x], [:opt, :y], [:rest, :other]] + * + * @mrbgem mruby-proc-ext */ - static mrb_value mrb_proc_parameters(mrb_state *mrb, mrb_value self) { |
