Dear all, I didn't spend a second on it, but I think it should be pretty straightforward to implement. If anyone is ready to spend some time on it, the patch should be more than welcome.
yours, anton. On Fri, Dec 24, 2010 at 2:00 PM, Stephan Beal <[email protected]> wrote: > On Thu, Dec 23, 2010 at 5:27 PM, Allan Douglas R. de Oliveira > <[email protected]> wrote: >> >> There is a better way to create dynamic methods? > > If by dynamic methods you mean methods which aren't explicitly known about > by v8 until the user tries to call them (which would trigger their creation > somehow), then... There were a few posts on that topic a while back (i think > they were also trying to model COM objects), but i don't remember anyone > posting a way to implement them on top of v8. > If you meant something else by dynamic methods, then i don't even have a > partial answer to your question :/. > In any case, SetInternalFields() can only be set on instances created via > NewInstance(), if i'm not horribly mistaken. > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
