summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
AgeCommit message (Expand)Author
2013-03-26Remove #if 0 ... #endif code.Masaki Muranaka
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-24resolve conflictYukihiro Matz Matsumoto
2013-03-23Make array.c and vm.c share value_move().Masaki Muranaka
2013-03-22Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by s...Masaki Muranaka
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto
2013-03-19Use mrb_true_or_false_value() / in mrb_ary_eql().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_ary_equal().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_ary_empty_p().Masaki Muranaka
2013-03-14Add break to default case in switch statementkano4
2013-03-11return value from mrb_gc_arena_save() is intYukihiro Matz Matsumoto
2013-03-08define and use print format macros for mrb_intCremno
2013-03-08unify mrb_ary_new{,_elts,_from_values}; mrb_ary_from_values() is a winnerYukihiro Matz Matsumoto
2013-03-05Add null check after mrb_realloc for arrayCarson McDonald
2013-03-04fix mrb_int for INT64 envYukihiro Matz Matsumoto
2013-03-03Merge pull request #934 from monaka/pr-use-mrb_int-in-array.cYukihiro "Matz" Matsumoto
2013-03-03Define ARY_MAX_SIZE strictly. Use mrb_int instead of int.Masaki Muranaka
2013-03-02Adjust some indentsMATSUMOTO Ryosuke
2013-03-01Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead ...Masaki Muranaka
2013-02-27Add document for array_copyNARUSE, Yui
2013-01-30rename mrb_ary_alen to mrb_ary_len; close #781Yukihiro Matz Matsumoto
2013-01-27Fixes a number of "comparison between signed and unsigned" warnings.Carson McDonald
2012-12-03Array#[]= should return assigning value; close #584Yukihiro Matz Matsumoto
2012-11-17int and mrb_int should not be mixed under -DMRB_INT64; may fix #557Yukihiro Matz Matsumoto
2012-11-04remove FL_XXX macrosYukihiro Matz Matsumoto
2012-11-04add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p()Yukihiro Matz Matsumoto
2012-11-04replace FIXNUM_P() by mrb_fixnum_p()Yukihiro Matz Matsumoto
2012-10-23mrb_raisef(): new function. Same as previou version of mrb_raise().Masaki Muranaka
2012-10-21Avoid memcpy() on copying structures.Masaki Muranaka
2012-09-27should adjust array sizeYukihiro Matsumoto
2012-09-12typo fixedYukihiro Matsumoto
2012-09-10Array#reverse! should call ary_modifyYukihiro Matsumoto
2012-09-10eagerly reduce allocated array memoryYukihiro Matsumoto
2012-09-10use mrb_malloc instead of clearing mrb_callocYukihiro Matsumoto
2012-09-10check special_const before calling respond_to?Yukihiro Matsumoto
2012-08-18reduce mrb_funcall invocationsYukihiro Matsumoto
2012-07-31Remove redundant code in mrb_array_aget().Masaki Muranaka
2012-07-29Make all(?) void casts explicit for C++Max Anselm
2012-07-29fix segmentation fault in Array#firstAkira Kuroda
2012-07-25fix segmentation fault in Array#lastAkira Kuroda
2012-07-15Array#join to accept only strings as sepYukihiro Matsumoto
2012-07-10Add ary_modify to prevent corrupting shared array.Masamitsu MURASE
2012-07-08Use mrb_calloc if you want zero cleard buffers.Masaki Muranaka
2012-07-07Optimize range check.Masaki Muranaka
2012-06-22Use mrb_str_new() instead of mrb_str_new2() as possible.Masaki Muranaka
2012-06-21Remove strlen(). We can use sizeof() of char array because sizeof(char) is al...Masaki Muranaka
2012-06-13optimize Array#unshift using shared body objectYukihiro Matsumoto
2012-06-13wrong ary->capa size was set in ary_modify()Yukihiro Matsumoto
2012-06-05mruby/array.h: rename buf to ptrYukihiro Matsumoto
2012-06-03make arrays to share bodiesYukihiro Matsumoto