summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
AgeCommit message (Expand)Author
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
2012-06-02remove unused mrb_mem_clearYukihiro Matsumoto
2012-06-02clean appendix comments from array.cYukihiro Matsumoto
2012-06-02unify long,size_t to int in array.[ch]Yukihiro Matsumoto
2012-06-02changed prototype mrb_ary_replace to (mrb_state*,mrb_value,mrb_value)Yukihiro Matsumoto
2012-06-02small refactoring around Array#concatYukihiro Matsumoto
2012-06-02remove ary_reverse that no longer usedYukihiro Matsumoto
2012-06-02add proper type check (using mrb_get_args) in Array#replaceYukihiro Matsumoto
2012-06-02avoid using mrb_value in Array#+Yukihiro Matsumoto
2012-06-02Array#reverse revisitedYukihiro Matsumoto
2012-06-01reorder mrb_ary_new_from_values() args to (argc, argv)Yukihiro Matsumoto
2012-06-01remove prototype for mrb_exec_recursive_paired()Yukihiro Matsumoto
2012-06-01stop using mrb_exec_recursive_paired() from Array comparisonYukihiro Matsumoto
2012-05-24simplify Array#joinYukihiro Matsumoto