summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
AgeCommit message (Collapse)Author
2014-06-23rename mrb_open_without_mrbgems to mrb_open_coretake_cheeze
2014-06-23make default allocf public to use it with mrb_open_without_mrbgemstake_cheeze
2014-06-23add mrb_open_without_mrbgems APItake_cheeze
2014-06-16Add fixed state atexit stack feature.take_cheeze
Adds following macros: * MRB_FIXED_STATE_ATEXIT_STACK (not defined by default) * When defined enables fixed state atexit stack. * MRB_FIXED_STATE_ATEXIT_STACK_SIZE (default value: 5) * This macro will be ignored when `MRB_FIXED_STATE_ATEXIT_STACK` isn't defined. * When `mrb_state_atexit` is called more than this value it will raise runtime error.
2014-06-10rename mrb_atexit to mrb_state_atexit to clarify a func will be called at ↵Yukihiro "Matz" Matsumoto
the end of state, not process; ref #2211
2014-06-09Fallback to `mrb_assert` instead of dirty trick.take_cheeze
2014-06-08Use `_Static_assert` when C11 is available and use it in pointer size check.take_cheeze
2014-06-05implement `ISASCII` correctlycremno
2014-06-05Merge branch 'atexit' of https://github.com/take-cheeze/mruby into ↵Yukihiro "Matz" Matsumoto
take-cheeze-atexit
2014-06-04use pre-allocated RuntimeError for out-of-memoryYukihiro "Matz" Matsumoto
2014-05-20move prototype of mrb_format() from error.h to mruby.h; ref #2274Yukihiro "Matz" Matsumoto
2014-05-13should use mrb_type() for the sake of MRB_WORD_BOXINGYukihiro "Matz" Matsumoto
2014-05-08Add API `mrb_atexit()`.take_cheeze
`mrb_final_mrbgems` will be called as mrb_state atexit function. Maybe useful in #1844.
2014-05-03new macro mrb_int(mrb,x) to retrieve mrb_int from mrb_value with conversion ↵Yukihiro "Matz" Matsumoto
if needed
2014-04-25better integer size assertion suggested by usakYukihiro "Matz" Matsumoto
2014-04-25eliminate plain int except for a few cases like arena_indexYukihiro "Matz" Matsumoto
2014-04-18Sort out the variables which belongs to 'mrb_callinfo' to improve 'cipush' ↵crimsonwoods
performance.
2014-04-16resolve conflictYukihiro "Matz" Matsumoto
2014-04-11Qualify argv argument of API `const`.Takeshi Watanabe
2014-04-10Qualify mrb_yield_*'s argv `const`.take_cheeze
2014-04-09Add MRB_TT_HAS_BASIC_P macro to check whether a typetag has MRB_OBJECT_HEADER.take_cheeze
2014-03-26add new function mrb_toplevel_run to prevent running through C function ↵Yukihiro "Matz" Matsumoto
boudaries on exceptions; close #1942
2014-03-23Use MRB_ARGS_REST() instead of ARGS_REST()cubicdaiya
According to include/mruby.h, /* compatibility macros; will be removed */ #define ARGS_REST() MRB_ARGS_REST()
2014-03-21make Fiber#transfer compatible with CRubytake_cheeze
2014-03-20use FiberError in fiber exception raisetake_cheeze
2014-03-19Merge pull request #1890 from take-cheeze/fiber_resumingYukihiro "Matz" Matsumoto
Revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING.
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19export mrb_yield_internal.Tomoyuki Sahara
2014-03-19revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING to fix recurive resumetake_cheeze
2014-03-19string functions arguments changed from mrb_int to size_t that would take ↵Yukihiro "Matz" Matsumoto
strlen()
2014-03-19change mrb_int to size_t that would take strlen()Yukihiro "Matz" Matsumoto
2014-03-16unify indent stylecubicdaiya
2014-03-15Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-15string length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-15Add Fiber's double resume test and fix it.take_cheeze
2014-03-13Merge pull request #1851 from tmash06/add_include_limit_hYukihiro "Matz" Matsumoto
add including limits.h.
2014-03-13add including limits.h.tmash06
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
2014-03-12add mrb_strlen_lit which makes _lit macros safercremno
strlen(3) + string literal is usually optimized but strlen(3) doesn't check if its argument is really a string literal. This is important for mruby's _static functions to which some _lit macros are expanded (string literals have static storage). See comment for some additional info. remove unnecessary parentheses
2014-03-01support c++ exceptiontake_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-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)!