Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. v8::Handle<v8::String> str = v8::String::NewFromUtf8(_Isolate, "test");
  2. const char* cstr = *v8::String::Utf8Value(str);
  3. Printf("%s", cstr); //now cstr would be pointing to some random value in memory that isn't 'test'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement