summaryrefslogtreecommitdiffhomepage
path: root/src/proc.c
AgeCommit message (Collapse)Author
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto
2013-04-25aspec bits should be packed in Ax; ref #1209Yukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-25rename MRB_ARGS_XXX to MRB_ASPEC_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-25rename ARGS_GETXXX macros to avoid potential name conflict; close #1206Yukihiro "Matz" Matsumoto
2013-04-16Add Proc#arityh2so5
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2012-12-10remove return at the bottom of void functionYukihiro Matz Matsumoto
2012-12-10Merge pull request #611 from tricknotes/stop-warning-of-procYukihiro "Matz" Matsumoto
Stop warning in compiling proc.c
2012-12-10add inline declarationYukihiro Matz Matsumoto
2012-12-10Stop warning in compiling proc.cRyunosuke SATO
proc.c:46: warning: ‘return’ with a value, in function returning void introduced in f312af11.
2012-12-10new function mrb_closure_new_cfunc(); close #609Yukihiro Matz Matsumoto
2012-10-25Use substitution instead of memset in structure initialization.Masaki Muranaka
2012-10-17no memory copy for call_iseqYukihiro Matsumoto
2012-09-03remove memleaks using linked allocatorYukihiro Matsumoto
2012-08-29remove flags from irepYukihiro Matsumoto
2012-08-04super look-up scheme fixed; close #415Yukihiro Matsumoto
2012-08-03define_method to copy block bodyYukihiro Matsumoto
2012-07-29Make all(?) void casts explicit for C++Max Anselm
2012-07-18proc_lambda should return blk instead of self.Masamitsu MURASE
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-06-20ISO conforming lambdaYukihiro Matsumoto
2012-06-20allow lambda duplicationYukihiro Matsumoto
2012-05-23cast style consistencyYukihiro Matsumoto
2012-05-20More C++ compilability work: mrb_obj_alloc void* conversionsMitchell Blank Jr
One of the biggest set of changes needed to make C++ compile, is that you can't autoconvert "void*" to a different pointer type without a cast (you can of course, convert pointers *to* "void*"!) For the first part, convert the users of "mrb_obj_alloc". Since it has to return something, make it RBasic* (that's what mrb_obj_alloc() is operating on anyway). This way, even in C you'll get a warning if you don't cast it. For places where there are a lot of similar calls to mrb_obj_alloc(), this can be easily hidden through a macro. I did this in string.c: #define mrb_obj_alloc_string(mrb) ((struct RString *) mrb_obj_alloc((mrb), MRB_TT_STRING, (mrb)->string_class)) I also updated the mrb_object() macro to also return a RBasic* -- my previous commit changed that from "void*" -> "RObject*", but I figure it should be consistent with mrb_obj_alloc()
2012-05-04mrb_closure_new uses current irep's nlocals instead of blocks; a patch from ↵Yukihiro Matsumoto
@tociyuki
2012-04-30rm whitespaceroco
2012-04-28Merge pull request #69 from k-tsj/fix-proc-segvYukihiro "Matz" Matsumoto
Use mrb_get_args instead of direct stack access
2012-04-28Use mrb_get_args instead of direct stack accessKazuki Tsujimoto
2012-04-26Fix a few casting warnings.Patrick Hogan
Signed-off-by: Patrick Hogan <[email protected]>
2012-04-23Merge branch 'master' of github.com:mruby/mrubymimaki
Conflicts: src/variable.c
2012-04-23add file headermimaki
2012-04-22Fix SEGV when calling Proc object created by Proc.newKazuki Tsujimoto
2012-04-20add mruby sourcesmimaki