Updates:
Status: WorkingAsIntended
Comment #1 on issue 879 by [email protected]: Why does
Handle<T>::operator*() return T* instead of T& ?
http://code.google.com/p/v8/issues/detail?id=879
You really want to pass a String* to function foo.
String* is sort of a fiction. It is a (slightly mangled) address of an
object in V8's heap. It is not really a pointer to a C++ object of type
String.
To have a reference to a String, there would have to be a String.
The v8-users and v8-dev mailing lists are better places than the bug
tracker to ask questions like this :)
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev