summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
AgeCommit message (Collapse)Author
2013-07-07Change parameter type to suppress -Wsign-compare warningsKazuki Tsujimoto
2013-07-05Fix indents in object.c.Jun Hiroe
2013-06-30Refactor mrb_obj_eq() func in object.c.Jun Hiroe
2013-06-28add nil.to_a, nil.to_f, nil.to_i methodsAkira Yumiyama
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-22Use mrb_bool for the 'b' format specifier of mrb_get_argsh2so5
2013-04-11string interpolation (#{foo}) does stringify implicitly; no need to call #to_sYukihiro "Matz" Matsumoto
2013-04-11Fix TypeError messagesh2so5
2013-04-01mrb_any_to_s: add separatorYukihiro "Matz" Matsumoto
2013-03-29Remove mrb_flt2big() as there is no bignum in the core.Masaki Muranaka
Add new API mrb_flo_to_fixnum(). You can replace mrb_flt2big() to mrb_flo_to_fixnum() with few modifications.
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-28Fix %s to %S.Masaki Muranaka
2013-03-27use new mrb_format API from mrb_raisef; its only format specifier is "%S" ↵Yukihiro Matz Matsumoto
(stringify) and takes mrb_value; close #1062
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-23rename mrb_ptr_as_string() to mrb_ptr_to_str()Yukihiro Matz Matsumoto
2013-03-23Remove *printf() that have "%p" format as possible. Use ↵Masaki Muranaka
tomrb_ptr_as_string() instead.
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto
2013-03-19Use mrb_true_or_false_value() / in false_or().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in false_xor().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in true_xor().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in true_and().Masaki Muranaka
2013-03-16Remove unused string.h.Masaki Muranaka
2013-03-05Include stdio.h in mrbconf.h instead of C extension sources.Masaki Muranaka
2013-03-01Pluggable Structmattn
2013-02-18remove TT_REGEX and TT_MATCHYukihiro Matz Matsumoto
2013-02-06rewrote mrb_any_to_sCremno
use %p instead of %lx to prevent truncation and for consistency
2013-01-27Fixes a number of "comparison between signed and unsigned" warnings.Carson McDonald
2013-01-15use the new specifier b instead of oCremno
2012-11-04replace RTEST() by mrb_test_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
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-16true/false should print proper inspect stringYukihiro Matsumoto
2012-09-10use mrb_testYukihiro Matsumoto
2012-08-14NaN boxingYukihiro Matsumoto
2012-08-13use TRUE/FALSE instead of 1/0Yukihiro Matsumoto
2012-08-02mrb_check_convert_type should always return nil on errorYukihiro Matsumoto
2012-08-02reduce invoking mrb_intern from convert_typeYukihiro Matsumoto
2012-07-29Remove commented out code.Masaki Muranaka
2012-07-25Undefine new for class rather than instance.Max Anselm
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add mrb_undef_class_method for DRYness.
2012-07-13allow DISABLE/ENABLE_SATDIOYukihiro Matsumoto
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-14error message from mrb_convert_type has been changedYukihiro Matsumoto
2012-06-05mruby/string.h: rename buf to ptrYukihiro Matsumoto
2012-06-01hash function should use #eql? internallyYukihiro Matsumoto
2012-05-31resolve conflictYukihiro Matsumoto
2012-05-31remove #new from immediate classesYukihiro Matsumoto
2012-05-18remove unused method.h from object.cYukihiro Matsumoto
2012-05-17redefine POST/NEG FIXABLE using INT_MIN/MAXYukihiro Matsumoto