[v8-users] submit to mail

2011-03-10 Thread joko suwito
submit email -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users

Re: [v8-users] Function from String

2011-03-10 Thread Vyacheslav Egorov
You can use built-in Function constructor: v8::Localv8::Function MkFunction(v8::Handlev8::String body) { v8::HandleScope scope; // Get global object v8::Localv8::Object global = v8::Context::GetCurrent()-Global(); // Get built-in Function constructor (see ECMA-262 5th edition 15.3.2)