Status: New
Owner: ----
New issue 3406 by [email protected]: Accessing Dynamic
Variables/Documentation
http://code.google.com/p/v8/issues/detail?id=3406
I have couple questions regarding the embedding of v8. I am trying to embed
Accessing Dynamic Variables.
First of all is there an uptodate documentation instead of
https://developers.google.com/v8/embed .
So far I have been using process.cc as a documentation. I could
successfully implement static global variables, but when i try to implement
dynamic variables, I run into a linker error in my static Handle<Object>
WrapPoint(Point* request, Isolate* isolate) in the line:
Point::request_template_.Reset(isolate, raw_template); The error is
error LNK2001: unresolved external symbol "public: static class
v8::Persistent<class v8::ObjectTemplate,class
v8::NonCopyablePersistentTraits<class v8::ObjectTemplate> >
Point::request_template_"
(?request_template_@Point@@2V?$Persistent@VObjectTemplate@v8@@V?$NonCopyablePersistentTraits@VObjectTemplate@v8@@@2@@v8@@A)
When I comment out that line I get a runtime error from "objects-inl.h"
line 2081, which is
Object* FixedArray::get(int index) {
SLOW_ASSERT(index >= 0 && index < this->length());
return READ_FIELD(this, kHeaderSize + index * kPointerSize);
}
I believe with an uptodate documentation I could fix the problem, but so
far I have been failing to fix that last error.
I also attached the code segments I am having problem with(Line 84).
Thanks for the help
Attachments:
example.cpp 3.3 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" 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.