> The compiler doesn't like the line 'v8::Persistent<v8::Script>
> _script;'. I can't recall the exact error message, but it was
> complaining about Persistent not being a known type. Sorry I'm not at
> my computer right now.
>
> The point is, can a compiled script live as a member of a class like
> that?

Storing a persistent script in an object shouldn't be a problem, we do
that all the time in Chrome.  I can't tell from your description what
the cause of your problem could be -- if you include v8.h then
v8::Persistent should be a known type.

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to