mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
allow compilation without INCLUDE_ENCODING; close #105; encoding support should be removed altogether in the future
This commit is contained in:
@@ -2388,6 +2388,13 @@ mrb_str_buf_append(mrb_state *mrb, mrb_value str, mrb_value str2)
|
||||
|
||||
return str;
|
||||
}
|
||||
#else
|
||||
mrb_value
|
||||
mrb_str_buf_append(mrb_state *mrb, mrb_value str, mrb_value str2)
|
||||
{
|
||||
mrb_str_cat(mrb, str, RSTRING_PTR(str2), RSTRING_LEN(str2));
|
||||
return str;
|
||||
}
|
||||
#endif //INCLUDE_ENCODING
|
||||
|
||||
static inline void
|
||||
|
||||
Reference in New Issue
Block a user