mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should decref shared string body on gc_free
This commit is contained in:
@@ -49,6 +49,7 @@ struct RString {
|
||||
#define RSTRING_END(s) (RSTRING(s)->buf + RSTRING(s)->len)
|
||||
#define MRB_STR_SHARED 256
|
||||
|
||||
void mrb_str_decref(mrb_state*, struct mrb_shared_string*);
|
||||
mrb_value mrb_str_literal(mrb_state*, mrb_value);
|
||||
void mrb_str_concat(mrb_state*, mrb_value, mrb_value);
|
||||
mrb_value mrb_obj_to_str(mrb_state*, mrb_value);
|
||||
|
||||
Reference in New Issue
Block a user