summaryrefslogtreecommitdiffhomepage
path: root/src/hash.c
AgeCommit message (Expand)Author
2013-05-08Remove mrb_hash_lookup() as no one uses it. Use mrb_hash_get instead.Masaki Muranaka
2013-05-08Move comments from hash.c to hash.rb.Masaki Muranaka
2013-05-08Move Hash#values_at to mruby-hash-ext gem.Masaki Muranaka
2013-04-29rename hash related gc functionsYukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-23Use mrb_str_cat() instead of mrb_str_cat2() as possible.Masaki Muranaka
2013-03-22Merge pull request #1039 from crimsonwoods/fix_the_type_of_opcodeYukihiro "Matz" Matsumoto
2013-03-22Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by s...Masaki Muranaka
2013-03-21 fix the type of value that is returned by bit-shift expression.crimsonwoods
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto
2013-03-19Use mrb_true_or_false_value() / in hash_equal().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_hash_has_keyWithKey().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_hash_empty_p().Masaki Muranaka
2013-03-15obsolete mrb_object; opposite of bc870ceYukihiro Matz Matsumoto
2013-03-02Adjust some indentsMATSUMOTO Ryosuke
2013-03-01Remove unused structures.Masaki Muranaka
2013-02-27Remove freeze leftoversbrainopia
2013-02-26Clean code up.Masaki Muranaka
2013-02-24Remove commented out code. Remove redundant function calls.Masaki Muranaka
2013-02-03Fix potential bug about Hash.Masamitsu MURASE
2013-01-10add mrb_check_hash_typeskandhas
2012-11-30Stop warning: extra ';' outside of a functionRyunosuke SATO
2012-11-14make mrb_hash_keys() non static functionYukihiro Matz Matsumoto
2012-11-04add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p()Yukihiro Matz Matsumoto
2012-10-23do not touch h from Hash when h might be NULLYukihiro Matsumoto
2012-08-26Publish mrb_hash_delete_key.Masamitsu MURASE
2012-07-29mrb_hash_delete_key(), mrb_hash_keys() : Declare as static.Masaki Muranaka
2012-07-29Remove commented out code.Masaki Muranaka
2012-07-28Protect deleted key and value from GC.Masamitsu MURASE
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-07-13less <stdio.h>Yukihiro Matsumoto
2012-06-27sizeof("a") is bigger by one than strlen("a")Yukihiro Matsumoto
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-21dislose mrb_hash_keys; close #304Yukihiro Matsumoto
2012-06-21reduce calling of strlen(); #301Yukihiro Matsumoto
2012-06-19split declaration and definition for 'khash_xxx'.crimsonwoods
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-03remove unsafe macros in hash.hYukihiro Matsumoto
2012-06-02simpler implementation of Hash#empty?Yukihiro Matsumoto
2012-06-02hash->ht might be NULL; it shouldn't thoughYukihiro Matsumoto
2012-06-02hash->ht might be NULL; it shouldn't thoughYukihiro Matsumoto
2012-06-02naming convention consistency for hash.hYukihiro Matsumoto
2012-06-02refactoring around mrb_hash_newYukihiro Matsumoto
2012-06-01remove unnecessary header inclusion from hash.cYukihiro Matsumoto
2012-06-01small refactoring; hash->ht should not be NULLYukihiro Matsumoto
2012-06-01values need not to dup unlike keysYukihiro Matsumoto
2012-06-01stop using mrb_exec_recursive_paired() from Hash#==Yukihiro Matsumoto
2012-06-01hash function should use #eql? internallyYukihiro Matsumoto
2012-06-01hash function should use #hash internallyYukihiro Matsumoto