mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Make compilable in clang (#71)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
f2d4295947
commit
6b76791e32
30 changed files with 1737 additions and 866 deletions
|
|
@ -140,7 +140,8 @@ int main(int argc, char* argv[])
|
|||
printf("ERROR: Cannot read interactive shell input\n");
|
||||
return 3;
|
||||
}
|
||||
Escargot::String* str = new Escargot::UTF16String(std::move(Escargot::utf8StringToUTF16String(buf, strlen(buf))));
|
||||
auto s = Escargot::utf8StringToUTF16String(buf, strlen(buf));
|
||||
Escargot::String* str = new Escargot::UTF16String(std::move(s));
|
||||
eval(context, str, Escargot::String::fromUTF8("from shell input", strlen("from shell input")), true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue