> JSObjectRef seems straight-forward: It's a struct OpaqueJSValue*,
> which is the same a JSC::JSObject*, and I get the latter from the
> former using toRef from APICast.h.

No. JSObjectRef may be a JSObject*, or something else.

> Is it better to search for JSGlobalContextRef on each method call, or should
> it be stashed in a field of the Java JSObject wrapper?

Depends on your design.

Geoff

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to