On Sat, Mar 28, 2009 at 9:00 AM, <[email protected]> wrote: > Yeah I've figured that one but it would break up all my rules... :(
i had to go back an reimplement over 120 ncurses wrapper functions and 70 sqlite3 functions when i realized how dangerous the whole External thing is. :( > But I don't see the reason why.. It doesn't make any sense at all. Why > does the > global object work completely differently? The global object IS different - is doesn't have a name in JS space. Other than that, though, i agree with you entirely - it's not fundamentally different. You can install any global object, of any type, you like. > Why can I not wrap it up? i've been hoping one of the v8 developers would chime in on that :/.. > As said, fixing api.cc works in some manner to at least correctly > transfer the internal field count, it is just a matter of accessors > not working proberly with the Holder() thing, functions work just > fine.. Have you tried using This() instead of Holder()? There's a very slight difference (which i don't remember, but was covered on the list here about three(?) weeks ago). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
