summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
AgeCommit message (Collapse)Author
2015-10-11Wrote YARD docs for mrb_define_module, mrb_include_module, ↵Ralph Desir(Mav7)
mrb_prepend_module, mrb_define_class_method, mrb_define_module_function, and mrb_define_const on mruby.h
2015-10-08Fix `mrb_obj_respond_to`Seba Gamboa
2015-10-08Formatting docs to new YARD structureSeba Gamboa
2015-10-08Fix samples syntax highlightingSeba Gamboa
2015-10-08Remove old doxygen tagsSeba Gamboa
2015-10-08Testing @see tagSeba Gamboa
2015-09-27fix signature of mrb_class_new_instance()takahashim
dd925578c604a608f83172f85d8e5bfc3bb99c6a changed the order of arguments, but it doesn't seem intentional.
2015-09-22Merge pull request #2959 from sagmor/api-documentationYukihiro "Matz" Matsumoto
C API documentation
2015-09-22add new functions mrb_gc_register/unregister; close #1411Yukihiro "Matz" Matsumoto
some routines need to refer mruby objects (e.g. callbacks), in that case you have to protect your objects from garbage collection. the new functions mrb_gc_register() keeps those objects from GC. you have to remove your objects using mrb_gc_unregister() when your C routines use mruby objects any longer, otherwise objects will leak.
2015-09-21Sort compiler macros aroundSeba Gamboa
2015-09-21Sorting documentation groupingSeba Gamboa
2015-09-20Setting up doxygen groupsSeba Gamboa
2015-09-20Merging documentation from docsSeba Gamboa
2015-09-18Playing around with some documentations schemesSeba Gamboa
2015-09-11Support windows localeYasuhiro Matsumoto
Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows.
2015-08-16Added mrb_get_argc and mrb_get_midfelixjones
2015-07-16Added mrb_prepend_module to mruby headerCorey Powell
2015-06-24remove deprecated.hYukihiro "Matz" Matsumoto
2015-06-23Move deprecated macros and functions to dedicated header filefurunkel
2015-05-28simplify all IS* and TO* macroscremno
Reduces the file size (by up to 2 KB with VS2015 RC, /O2, /MD) and removes the requirement of including <ctype.h> before their usage. Multiple macro argument evaluation and lack of type-checking is still an issue.
2015-05-28simplify ISASCII() macrocremno
2015-05-18fix type of mrb_exc_new()'s len parametercremno
mrb_str_new() takes size_t, so should mrb_exc_new().
2015-05-15Update Coopyright Information to year 2015Daniel Bovensiepen
2015-02-19add a prototype declaration for mrb_fiber_resume(); ref #1269Yukihiro "Matz" Matsumoto
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2014-12-02fix ISBLANK() for Visual Studio < 2013 (ref #2658)cremno
Visual Studio versions older than 2013 lack C99's isblank(). Since only ASCII characters are passed to it, implement it directly without calling the locale-specific isblank().
2014-11-19Merge pull request #2640 from mruby-Forum/v1.1.01.1.0Hiroshi Mimaki
mruby-1.1.0
2014-11-19separate mrb_notimplement() and mrb_notimplement_m(); ref #2636Yukihiro "Matz" Matsumoto
2014-11-18Add mruby debugger (mrdb)mimaki
2014-11-17Implement C API mrb_notimplementksss
2014-10-29Fix mrb_convert_to_integer.Jun Hiroe
2014-09-30O(1) mrb_sym2name_len(); close #2591Yukihiro "Matz" Matsumoto
instead of adding sym->name hash table, linear symbol table is added, and reduced name->sym hash table size.
2014-09-15change mrb_sym type from uint16_t to uint32_tYukihiro "Matz" Matsumoto
2014-08-27add symbol table overflow checkcremno
Since raising an error might intern a few new strings, some symbols need to be reserved. 8 should be sufficient. If the real limit has been reached, mrb_bug() is called.
2014-08-06Rename GC_STATE_NONE GC_STATE_ROOTJun Hiroe
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-07-17Add field `allocf_ud` to replace current `ud`.take_cheeze
Since some use it as `mrb_state` associated user data.
2014-07-12use SystemStackError instead of RuntimeErrorYukihiro "Matz" Matsumoto
2014-07-09Clean up value.h and mrb_value boxingDavid Turnbull
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