I took some time and fiddled with sending an array from javascript to c
++ and it was not too hard. Just had to look through files and and
find information on v8::Array.

Ridiculously silly how this is expected if you just want to embed v8.
With the current one page document show the "correct way" is actually
wrong. I also stumbled across v8::object and I assume it's the exact
same process.




On Jun 11, 9:33 am, GREENie <[email protected]> wrote:
> I was wondering how you would make a function where you could send an
> array from javascript to c++ and also how to return an array from c++
> to javascript.
>
> Also something else I have thought about. if I have an object that was
> created for javascript in c++ and I attach other ones to it. How do i
> write this. I suppose similar to how in the dom appends nodes.
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to