summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
AgeCommit message (Collapse)Author
2014-05-18Add a space aftre bracket.yui-knk
2014-05-04Fix typo.yui-knk
2014-04-26Class.constants to take optional argument; close #2133Yukihiro "Matz" Matsumoto
2014-04-14reduce RSTRING_PTR usagecremno
2014-04-10revert b45e99 since a bug in khash.h was fixedYukihiro "Matz" Matsumoto
2014-04-09Fix invalid hash typemattn
2014-04-09call kh_get before kh_put to avoid potential key lost; reported by @mirichiYukihiro "Matz" Matsumoto
2014-04-02Use bool macro KHASH_DEFINE and KHASH_DECLAREksss
2014-03-26Remove redundant NULL checks.Masaki Muranaka
mrb_malloc causes an exception when memory was empty.
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-08use mrb_str_cat_lit for literalscremno
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-17iv_size (non-seglist): return 0 if t is NULLcremno
2014-02-13mrb_str_cat2: deprecated since 0cedf8fcremno
2014-02-09Fix Kernel#global_variables for $1-$9Pavel
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-06small refactoring (dedup mrb_vm_cv_set)Yukihiro "Matz" Matsumoto
2013-12-23Remove 'mrb_state' field from 'kh_xxx_t' structure.crimsonwoods
'kh_xxx_t' requires 'mrb_state' to allocate, free, and compute hash value. But 'mrb_state' should not be held by 'kh_xxx_t' and 'mrb_state' should be supplied from outside.
2013-12-10Avoid recursive instance variable inspectionsh2so5
2013-12-08Fix mod.constants cannot return the single character constantbggd
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-10-15define Module#const_missingYukihiro "Matz" Matsumoto
2013-10-10remove unused value for mrb_gv_removeMATSUMOTO Ryosuke
2013-10-10add mrb_gv_remove(); untestedYukihiro "Matz" Matsumoto
2013-08-18remove unnecessary returnYukang
2013-07-24I fix typos in variable.c.Jun Hiroe
2013-07-14Add comments in variable.cJun Hiroe
2013-07-12Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func.Jun Hiroe
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto
2013-05-18removed unused variables / assigns never usedJulien Ammous
2013-05-09fix indentationYukihiro "Matz" Matsumoto
2013-05-09Print mrb_value instead of RClass*Carson McDonald
2013-05-01Remove mrb_class_obj_geth2so5
2013-04-20wrong type castYukihiro "Matz" Matsumoto
2013-04-20Module#class_variables should check superclassesYukihiro "Matz" Matsumoto
2013-04-04Use mrb_name_error() as possible.Masaki Muranaka
2013-04-02Module#constants should include constants defined in superclass; close #1126Yukihiro "Matz" Matsumoto
2013-04-02add Module#constants (15.2.2.4.24)Yukihiro "Matz" Matsumoto
2013-03-29Sort include files. Some redundant includes are removed.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-26remove all MRB_TT_MAIN from sourceYukihiro Matz Matsumoto
2013-03-25Make mrb_top_self return a real instance.Carson McDonald
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-24Use size_t instead of int. This is for portability.Yukihiro Matz Matsumoto
2013-03-24Use mrb_bool instead of int. This is for portability; based on e767ebf but ↵Yukihiro Matz Matsumoto
iv_foreach_func must return int
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-23Use mrb_str_cat() instead of mrb_str_cat2() as possible.Masaki Muranaka
2013-03-22Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by ↵Masaki Muranaka
strlen().