That's done by "binding" code. You typically add new IDL file (.idl) for a new class you're adding. Then the build script will automatically generate JS*.cpp or V8*.cpp for you. You can also add a custom binding code (see WebCore/bindings/) per attribute/method.
- Ryosuke 2012/3/15 wenmhappy <[email protected]> > Hi, > > I want let javascript call native code(c/c++) to access native > sources, but I don`t know how to do it. > > Thanks for any help, > Best regards. > > > > _______________________________________________ > webkit-help mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > >
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
