I have following codes. 1 : m_pIsolate = v8Isolate::GetCurrent();
2 : v8::HandleScope handle_scope(m_pIsolate); 3 : v8::Handle<v8::ObjectTemplate> global = v8::Persistent<v8::ObjectTemplate>::New(GetIsolate(), v8::ObjectTemplate::New()); 4 : m_context = v8::Context::New(NULL, global); 5 : v8::Context::Scope context_scope(m_context); 6 : global->SetInternalFieldCount(1); 7 : v8::Handle<v8Object> lglobal = global->NewInstance(); 8 : lglobal->SetInternalField(0, v8External::New(this)); But, in 8 line there is an error(debug break) the following # # Fatal error in v8::Object::SetInternalField() # Internal field out of bounds # How can I resolve this problem? help~~ -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
