Hi
You could take a look at V8's extensions in src/extensions/. Or you could
take a look what the node.js guys put together.
Yang
On Tue, Oct 30, 2012 at 2:20 PM, ahwood <ww
...@qq.com> wrote:
> I wish to do the thing below:
> Create a plugin by C++,such as:
> myplugin_by_cpp
> Then to load it in my main app which V8 embeded, and access the function
> of myplugin_by_cpp in javascript:
> var myplugin=require("myplugin_by_cpp");
> var result=myplugin.run();
> I wonder if there's a sample about that?