summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
AgeCommit message (Collapse)Author
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-03-01mrb_fiber_yield() is available now; you have to link mruby-fiber mrbgem to ↵Yukihiro "Matz" Matsumoto
use the function; there's no function available to create new fiber from C (countapart of Lua's lua_newthread), but that's because you cannot create a new fiber from C due to mruby C API design limitation. define your method to create fibers in Ruby; close #1269
2014-02-12include mruby/version.h in mruby.hTomoyuki Sahara
2014-02-09Store raw stack address in callinfo instead of offset from stbasMiura Hideki
2014-02-08forget to add function prototypesYukihiro "Matz" Matsumoto
2014-02-06introduce mrb_str_new_lit() to create strings from C string litralsYukihiro "Matz" Matsumoto
2014-01-31Merge pull request #1669 from cremno/copyright-2014Yukihiro "Matz" Matsumoto
update copyright year
2014-01-31Merge pull request #1668 from cremno/etc-c-cleanupYukihiro "Matz" Matsumoto
etc.c: small cleanup
2014-01-30mruby.h: remove mrb_str_format declarationcremno
The function mrb_str_format is only defined when the mrbgem mruby-sprintf was activated. That might not always be the case (by default it currently is). mrb_str_format still has external linkage, so from now on mrbgem authors have to declare it in their source code if they want or need to call it.
2014-01-30Happy new year! (update copyright year)cremno
Let's not wait until May this time (f0a9b95af3d542ac1db7fcb4a3d77990a284c185)!
2014-01-30etc.c: small cleanup (delete unused functions)cremno
mrb_data_object_alloc: unnecessary cast mrb_lastline_get: mruby doesn't support $_, weird and unused code mrb_exec_recursive: see 4e46abb86914b36e70b5f3ad0826d0b648e9b4ef mrb_block_proc: unused, doesn't really do anything (or needs to be rewritten) mrb_obj_to_sym: actually use id (and MSVC detected unreachable code)
2014-01-23add callback invocation from OP_DEBUGYukihiro "Matz" Matsumoto
2013-12-25rename mrb_intern_litral -> mrb_intern_staticYukihiro "Matz" Matsumoto
2013-12-24zero copy C literal strings in symbol tableYukihiro "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-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-11-22Make mrb->arena variable sized. Use MRB_GC_FIXED_ARENA for old behavior.Yukihiro "Matz" Matsumoto
You will not see "arena overflow" error anymore, but I encourage gem authors to check your gems with MRB_GC_FIXED_ARENA to avoid memory broat.
2013-11-21declare struct mrb_irep.Tomoyuki Sahara
2013-11-07wrong return value from read_lineno_record()Yukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-10-15better error position displayYukihiro "Matz" Matsumoto
2013-09-28Remove function delaration not implemented in codeDusan D. Majkic
2013-09-25change type of mrb->c->status from uint8_t to enum mrb_fiber_state; #1511Yukihiro "Matz" Matsumoto
2013-09-02add verbose_backtracetake_cheeze
2013-08-29Removed unnecessary #undef ISPRINT in include/mruby.hPaolo Bosetti
2013-08-27Remove function delarations not implemented in codeDusan D. Majkic
2013-08-15add compatibility macro mrb_class_new_instance()Yukihiro "Matz" Matsumoto
2013-08-13define Class#new in ruby to call #initializeYukihiro "Matz" Matsumoto
2013-07-25introduce mrb_assert() in mruby.hfleuria
2013-07-24restore once removed mrb_garbage_collect()Yukihiro "Matz" Matsumoto
2013-07-24Merge pull request #1407 from Fleurer/gc-introduce-incremental-gc-stepYukihiro "Matz" Matsumoto
separate out `incremental_gc_step()` from `mrb_incremental_gc()`, and misc minor rename
2013-07-24rename variable_gray_list to atomic_gray_listfleuria
2013-07-24rename mrb_garbage_collect() to mrb_full_gc()fleuria
2013-07-15Repalace int with mrb_bool because a return value is boolean.Jun Hiroe
2013-07-14Replace int with mrb_bool because a return value is boolean.Jun Hiroe
2013-07-07Change parameter type to suppress -Wsign-compare warningsKazuki Tsujimoto
2013-07-04Add comments in mrb_state struct.Jun Hiroe
2013-07-01Add mrb_class_get_under()h2so5
2013-06-28refactor mrb_realloc()fleuria
remove the redundant codes with mrb_malloc_simple()
2013-06-25add mrb_malloc_simple() that returns NULL on errorYukihiro "Matz" Matsumoto
2013-06-10restructure header files; move non config lines away from mrbconf.hYukihiro "Matz" Matsumoto
2013-05-26Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-05-26mruby error messages should be directed to stderrYukihiro "Matz" Matsumoto
2013-05-23manage fiber status (create|running|resumed|terminated)Yukihiro "Matz" Matsumoto
2013-05-22garbage collect context (fiber) properlyYukihiro "Matz" Matsumoto
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto