summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2014-04-03space adjustment in khash.hYukihiro "Matz" Matsumoto
2014-04-03delete khash member upper_boundksss
2014-04-02Delete khash member mask and incksss
because there can be substituted by n_buckets
2014-04-02Use bool macro KHASH_DEFINE and KHASH_DECLAREksss
2014-04-02use size_t instead of intksss
2014-04-02delete unused indexes __m_* masksksss
2014-04-01Use MRB_ENV_STACK_SHARED_P to check `cioff` field of REnv.take_cheeze
2014-04-01Add macro MRB_ENV_UNSHARE_STACK instead of assigning -1 directly.take_cheeze
2014-04-01Use MRB_ENV_STACK_LEN instead of accessing `flags` directly to get REnv's ↵take_cheeze
stack length.
2014-03-31Add API to define cfunc Proc with userdata.take_cheeze
The APIs are defined in mruby-proc-ext so include it before using this API. See mruby-proc-ext's test code for usage. This should resolve #1794.
2014-03-28do not use "to_f" to retrieve floats in mrb_get_args(); close #1965Yukihiro "Matz" Matsumoto
2014-03-26add new function mrb_toplevel_run to prevent running through C function ↵Yukihiro "Matz" Matsumoto
boudaries on exceptions; close #1942
2014-03-25REnv uses obj->c as env link; no superYukihiro "Matz" Matsumoto
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-18add a space after C reserved wordsYukihiro "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-15type of mrb_type() should be enum mrb_vtype when MRB_NAN_BOXING is onYukihiro "Matz" Matsumoto
2014-03-13Merge pull request #1849 from cremno/add-mrb_int_bit-macroYukihiro "Matz" Matsumoto
add MRB_INT_BIT
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-11add MRB_INT_BITcremno
2014-03-11don't use of anonymous unionstake_cheeze
2014-03-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-09Merge pull request #1834 from cremno/use-nan-and-infinity-macrosYukihiro "Matz" Matsumoto
use NAN and INFINITY macros
2014-03-09remove invocation of strlen() on buffer of strings; with refactoringYukihiro "Matz" Matsumoto
2014-03-08MSVC: add NAN and INFINITY for older versionscremno
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-08use sizeof(void*) instead of mrb_int size and extend embed string sizetake_cheeze
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-05error.h: add extern "C" for C++cremno
2014-03-04fix a comment end of include guardcubicdaiya
2014-03-04introduce mrb_exc_new_str_lit for C string literalscubicdaiya
2014-03-03fix include guard style.Tatsuya Matsumoto
2014-03-01fix compile errortake_cheeze
2014-03-01support c++ exceptiontake_cheeze
2014-03-01allow send method not to call mrb_funcall if calling method is implemented ↵Yukihiro "Matz" Matsumoto
in Ruby; fix #1680 ref #1765