Hi, as I advance through V8, more questions come to my mind :)
1) After entering the context (v8::Context::Scope context_scope(context)), new properties to global object can be added _only_ by context->Global()->Set(). However, before entering the context, one can add them via global->Set() (assuming the context was created using v8::Handle<v8::Context> context = v8::Context::New(NULL, global)). Why? 2) When I create an array before entering the context (v8::Handle<v8::Array> arr = v8::Array::New(1)), I end with segfault. Is this correct? 3) What exactly is the difference between v8::Handle<v8::Sometype> and v8::Local<v8::Sometype> ? 4) What exactly is the difference between v8::FunctionTemplate::New(Somefunction) and v8::FunctionTemplate::New(Somefunction)->GetFunction() ? Thanks, Ondrej Zara --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
