It's hard for me to understand what exactly you're looking for, could you rephrase?
If you're looking for the way to go from native C++ object to JS object (you then can invoke any method you like) typical approaches are 1) embedding a persistent handle into native object, 2) using a map mapping native objects to persistent handles. You may want to look how Chromium v8 bindings do that. yours, anton. On Sun, Jan 24, 2010 at 12:15 PM, Warspawn <[email protected]> wrote: > Say I have a class instanced in javascript, with an internal field > holding the c++ pointer, is there a way I can use the c++ pointer to > find and execute a script function on that instance? Can I search > through the context for all functions and test if they are an instance > of a particular function template and then maybe test those objects to > see if they are holding the pointer in question? > > -- > 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
