@@ -184,7 +184,7 @@ void mrb_define_module_function(mrb_state*, struct RClass*, const char*, mrb_fun
184184void mrb_define_const (mrb_state * , struct RClass * , const char * name , mrb_value );
185185void mrb_undef_method (mrb_state * , struct RClass * , const char * );
186186void mrb_undef_class_method (mrb_state * , struct RClass * , const char * );
187- mrb_value mrb_obj_new (mrb_state * mrb , struct RClass * c , int argc , mrb_value * argv );
187+ mrb_value mrb_obj_new (mrb_state * mrb , struct RClass * c , int argc , const mrb_value * argv );
188188#define mrb_class_new_instance (mrb ,argc ,argv ,c ) mrb_obj_new(mrb,c,argc,argv)
189189mrb_value mrb_instance_new (mrb_state * mrb , mrb_value cv );
190190struct RClass * mrb_class_new (mrb_state * mrb , struct RClass * super );
@@ -243,8 +243,8 @@ int mrb_get_args(mrb_state *mrb, const char *format, ...);
243243#define mrb_strlen_lit (lit ) (sizeof(lit "") - 1)
244244
245245mrb_value mrb_funcall (mrb_state * , mrb_value , const char * , int ,...);
246- mrb_value mrb_funcall_argv (mrb_state * , mrb_value , mrb_sym , int , mrb_value * );
247- mrb_value mrb_funcall_with_block (mrb_state * , mrb_value , mrb_sym , int , mrb_value * , mrb_value );
246+ mrb_value mrb_funcall_argv (mrb_state * , mrb_value , mrb_sym , int , const mrb_value * );
247+ mrb_value mrb_funcall_with_block (mrb_state * , mrb_value , mrb_sym , int , const mrb_value * , mrb_value );
248248mrb_sym mrb_intern_cstr (mrb_state * ,const char * );
249249mrb_sym mrb_intern (mrb_state * ,const char * ,size_t );
250250mrb_sym mrb_intern_static (mrb_state * ,const char * ,size_t );
@@ -390,7 +390,7 @@ mrb_bool mrb_respond_to(mrb_state *mrb, mrb_value obj, mrb_sym mid);
390390mrb_bool mrb_obj_is_instance_of (mrb_state * mrb , mrb_value obj , struct RClass * c );
391391
392392/* fiber functions (you need to link mruby-fiber mrbgem to use) */
393- mrb_value mrb_fiber_yield (mrb_state * mrb , int argc , mrb_value * argv );
393+ mrb_value mrb_fiber_yield (mrb_state * mrb , int argc , const mrb_value * argv );
394394#define E_FIBER_ERROR (mrb_class_get(mrb, "FiberError"))
395395
396396/* memory pool implementation */
0 commit comments