[Bug #20903] rb_econv_str_append
arguments expected to be String
This commit is contained in:
parent
801e66352e
commit
4e01878bad
Notes:
git
2024-11-22 03:25:05 +00:00
@ -5,6 +5,8 @@ static VALUE
|
|||||||
econv_append(VALUE self, VALUE src, VALUE dst)
|
econv_append(VALUE self, VALUE src, VALUE dst)
|
||||||
{
|
{
|
||||||
rb_econv_t *ec = DATA_PTR(self);
|
rb_econv_t *ec = DATA_PTR(self);
|
||||||
|
StringValue(src);
|
||||||
|
StringValue(dst);
|
||||||
return rb_econv_str_append(ec, src, dst, 0);
|
return rb_econv_str_append(ec, src, dst, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user