summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-struct/src/struct.c
AgeCommit message (Collapse)Author
2014-03-25Use mrb_int instead of intcubicdaiya
2014-03-22use the same error messageMarcus Stollsteimer
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19self must be the newly created object in initialization block; close #1858Tomoyuki Sahara
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-12fix mrb_funcall callingtake_cheeze
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-02-26Merge pull request #1744 from cubicdaiya/feature/introduce_mrb_str_cat_litYukihiro "Matz" Matsumoto
Introduce mrb_str_cat_lit
2014-02-26use mrb_str_cat_lit() more widelycubicdaiya
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-02-13mrb_str_cat2: deprecated since 0cedf8fcremno
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)
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-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-07-14Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr().Jun Hiroe
2013-07-01Fix signed/unsigned warning.Carson McDonald
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto
2013-05-10change mrb_bug to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-05-10change mrb_warn to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-04-29remove unnecessary intern; access to non-member cause IndexErrorYukihiro "Matz" Matsumoto
2013-04-29rename mrb_to_id to mrb_obj_to_sym since symbol is nothing to do with ↵Yukihiro "Matz" Matsumoto
identifier in mruby
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-04Use mrb_name_error() as possible.Masaki Muranaka
2013-03-28Fix raisef formats in struct.c.Masaki Muranaka
2013-03-24resolve conflictYukihiro Matz Matsumoto
2013-03-22Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by ↵Masaki Muranaka
strlen().
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_struct_eql().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_struct_equal().Masaki Muranaka
2013-03-14use mrb_int as possible based on a patch from @monaka; close #994Yukihiro Matz Matsumoto
2013-03-14use size_t for string length C APIYukihiro Matz Matsumoto
2013-03-12Remove mrb_str_new2(). Use mrb_str_new_cstr() instead.Masaki Muranaka
Make mrb_str_new_cstr() accept NULL pointer. It generates 0byte strings by NULL pointer.
2013-03-08define and use print format macros for mrb_intCremno
For portability: %ld can't be used to print a 64-bit mrb_int on WIN(32|64) because long is 32-bit wide.
2013-03-03Remove trailing whitespaces. This is just a cosmetic change.Masaki Muranaka
2013-03-01Remove unused var svCarson McDonald
2013-03-02use TT_ARRAY instead of TT_DATAYukihiro Matz Matsumoto
2013-03-01replace instance_of check with structure checkYukihiro Matz Matsumoto
2013-03-01remove struct RStruct, use RArray insteadYukihiro Matz Matsumoto
2013-03-01fix indent in struct.cYukihiro Matz Matsumoto
2013-03-01internal array should be pudated using mrb_ary_set()Yukihiro Matz Matsumoto
2013-03-01Set nil to uninitialized membersmattn
2013-03-01Fix copy valuesmattn
2013-03-01Fixed GC guardmattn
2013-03-01Should be MRB_DATA class. RStruct isn't managed by mruby core. So it should ↵mattn
be self-managed class instances.
2013-03-01Gemifymattn
2013-03-01Pluggable Structmattn