diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-07 21:30:40 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-07 21:30:40 -0800 |
| commit | c8d117fde16248b217ee56b0f42dc9feac626458 (patch) | |
| tree | cd353be9cb1df5e009d130ceabfcd627e7fb34a7 /include | |
| parent | 8c31c2006be7afa8da1fd01180955b108aee868c (diff) | |
| parent | a096dc9e3b01f4fc31fc1f910e254813884a776e (diff) | |
| download | mruby-c8d117fde16248b217ee56b0f42dc9feac626458.tar.gz mruby-c8d117fde16248b217ee56b0f42dc9feac626458.zip | |
Merge pull request #707 from bovi/array-clear
Export Array#clear in array.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/array.h b/include/mruby/array.h index 2857ec75d..c5959bbe6 100644 --- a/include/mruby/array.h +++ b/include/mruby/array.h @@ -55,6 +55,7 @@ mrb_value mrb_ary_new4(mrb_state *mrb, int n, const mrb_value *elts); mrb_value mrb_assoc_new(mrb_state *mrb, mrb_value car, mrb_value cdr); mrb_value mrb_ary_entry(mrb_value ary, int offset); mrb_value mrb_ary_shift(mrb_state *mrb, mrb_value self); +mrb_value mrb_ary_clear(mrb_state *mrb, mrb_value self); #if defined(__cplusplus) } /* extern "C" { */ |
