diff options
| author | Seba Gamboa <[email protected]> | 2015-10-21 14:31:13 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-10-21 14:31:13 -0300 |
| commit | 25c8e9536530afa72bacb78702a7a6d132c354f3 (patch) | |
| tree | fc8c2b24814d4c7a8a994390c6ceb859ceae87ca /mrbgems/mruby-array-ext/src/array.c | |
| parent | 13b552538af9e9794398e4a4177ba1cea04cccca (diff) | |
| download | mruby-25c8e9536530afa72bacb78702a7a6d132c354f3.tar.gz mruby-25c8e9536530afa72bacb78702a7a6d132c354f3.zip | |
Revert "Mark core gems with mrbgem tag"
This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.
Diffstat (limited to 'mrbgems/mruby-array-ext/src/array.c')
| -rw-r--r-- | mrbgems/mruby-array-ext/src/array.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/mrbgems/mruby-array-ext/src/array.c b/mrbgems/mruby-array-ext/src/array.c index 37d8739b6..177dd7123 100644 --- a/mrbgems/mruby-array-ext/src/array.c +++ b/mrbgems/mruby-array-ext/src/array.c @@ -4,7 +4,7 @@ #include "mruby/range.h" #include "mruby/hash.h" -/** +/* * call-seq: * ary.assoc(obj) -> new_ary or nil * @@ -22,9 +22,8 @@ * a = [ s1, s2, s3 ] * a.assoc("letters") #=> [ "letters", "a", "b", "c" ] * a.assoc("foo") #=> nil - * - * @mrbgem mruby-array-ext */ + static mrb_value mrb_ary_assoc(mrb_state *mrb, mrb_value ary) { @@ -74,7 +73,7 @@ mrb_ary_rassoc(mrb_state *mrb, mrb_value ary) return mrb_nil_value(); } -/** +/* * call-seq: * ary.at(index) -> obj or nil * @@ -85,9 +84,8 @@ mrb_ary_rassoc(mrb_state *mrb, mrb_value ary) * a = [ "a", "b", "c", "d", "e" ] * a.at(0) #=> "a" * a.at(-1) #=> "e" - * - * @mrbgem mruby-array-ext */ + static mrb_value mrb_ary_at(mrb_state *mrb, mrb_value ary) { @@ -97,10 +95,6 @@ mrb_ary_at(mrb_state *mrb, mrb_value ary) return mrb_ary_entry(ary, pos); } -/** - * - * @mrbgem mruby-array-ext - */ static mrb_value mrb_ary_values_at(mrb_state *mrb, mrb_value self) { @@ -112,7 +106,7 @@ mrb_ary_values_at(mrb_state *mrb, mrb_value self) return mrb_get_values_at(mrb, self, RARRAY_LEN(self), argc, argv, mrb_ary_ref); } -/** +/* * call-seq: * ary.to_h -> Hash * @@ -122,8 +116,8 @@ mrb_ary_values_at(mrb_state *mrb, mrb_value self) * [[:foo, :bar], [1, 2]].to_h * # => {:foo => :bar, 1 => 2} * - * @mrbgem mruby-array-ext */ + static mrb_value mrb_ary_to_h(mrb_state *mrb, mrb_value ary) { |
