summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
AgeCommit message (Collapse)Author
2012-07-25Undefine new for class rather than instance.Max Anselm
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add mrb_undef_class_method for DRYness.
2012-07-24instance_eval should set target_class in the blockYukihiro Matsumoto
2012-07-19make MRB_ARENA_SIZE to be configurableYukihiro Matsumoto
2012-07-17change return type of mrb_p() to voidYukihiro Matsumoto
2012-07-15make class_from_sym staticYukihiro Matsumoto
2012-07-14mrb_load_xxx to return undef + mrb_undef_pYukihiro Matsumoto
2012-07-09we don't need xmalloc; close #356Yukihiro Matsumoto
2012-07-06remove MRB_TT_THREAD,MRB_TT_THREADGRPYukihiro Matsumoto
2012-07-05move RDoc commentsYukihiro Matsumoto
2012-06-20remove RuntimeError from mrb_stateYukihiro Matsumoto
2012-06-15remove unreference Error class macrosYukihiro Matsumoto
2012-06-15do not use fixed sized buffer in mrb_bug/mrb_warn; close #287Yukihiro Matsumoto
2012-06-14Fix redundant declraration warnings by gcc.Masaki Muranaka
2012-06-08add auxiliary data pointer to mrb_stateYuichiro MASUI
2012-06-05symbol can contain non printable charactersYukihiro Matsumoto
2012-06-03remove unused mrb_exec_recursiveYukihiro Matsumoto
2012-06-02export exception handlingFrank Celler
2012-06-02fixed prototype: g++ will complain about definition not being a prototype, ↵Frank Celler
should work with GCC and VC as well
2012-06-01remove unused prototypes from mruby.hYukihiro Matsumoto
2012-06-01remove mrb_rs from mruby.hYukihiro Matsumoto
2012-06-01remove CONST_ID from mruby.hYukihiro Matsumoto
2012-06-01remove IO related prototypes from mruby.hYukihiro Matsumoto
2012-06-01remove ruby_setjmp from mruby.hYukihiro Matsumoto
2012-06-01remove KASH from mruby.hYukihiro Matsumoto
2012-06-01remove REALLOC_NYukihiro Matsumoto
2012-06-01move respond_to and instance_of prototypes to mruby.hYukihiro Matsumoto
2012-06-01add prototype for mrb_garbage_collect()Yukihiro Matsumoto
2012-06-01add prototype for mrb_garbage_collect()Yukihiro Matsumoto
2012-06-01remove unused event related declarationsYukihiro Matsumoto
2012-06-01new API mrb_gc_protect() to add object to arenaYukihiro Matsumoto
2012-05-31correctly share string bodiesYukihiro Matsumoto
2012-05-31remove #new from immediate classesYukihiro Matsumoto
2012-05-24made mrb_get_args() better (optinal args, type checks); close #173 #176Yukihiro Matsumoto
2012-05-22always use value.i for MRB_TT_FALSEYukihiro 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-19C++ compilability -- make mrb_object() macro return an RObject, not voidMitchell Blank Jr
2012-05-19remove dependency to node.h and pool.hYukihiro Matsumoto
2012-05-18add extern "C" guards; close #126Yukihiro Matsumoto
2012-05-17add mrb_define_singleton_method/mrb_define_module_functionYukihiro Matsumoto
2012-05-15remove "comparison is always true" warningYukihiro Matsumoto
2012-05-11remove unused #includeYukihiro Matsumoto
2012-05-10remove encode_class and converter_class from mrb_stateYukihiro Matsumoto
2012-05-10remove regex_class and match_class from mrb_stateYukihiro Matsumoto
2012-05-10remove mrb->range_classYukihiro Matsumoto
2012-05-06add const to char*Yuichiro MASUI
2012-05-06Time class available; based on code from @beoran; sorry for jumbo patchYukihiro Matsumoto
2012-05-05hash refactoredYukihiro Matsumoto
2012-05-05use int8_t for ttYukihiro Matsumoto
2012-05-04move mrb_str_new prototype to mruby.hYukihiro Matsumoto
2012-04-30rm whitespaceroco