1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

compile error. Context#SetData() expects a C::String

This commit is contained in:
Charles Lowell 2010-08-28 16:48:49 -05:00
parent b67e6596f0
commit 1fb35f7dd3

View file

@ -72,7 +72,7 @@ namespace {
}
VALUE SetData(VALUE self, VALUE data) {
HandleScope scope;
unwrap(self)->SetData(rr_rb2v8(data));
unwrap(self)->SetData(rr_rb2v8(data)->ToString());
return Qnil;
}
}