Hello.. I'm currently writing some additional custom modules on top of Gears and had a few API questions that maybe someone could clear up for me. When calling a JsRootedCallback via JsRunner::InvokeCallback, I've noticed that the only way to retrieve it's return value is by passing a pointer to a JsRootedToken.
My problem/question is.. How are we supposed to read/access the underlying JsToken value in JsRootedToken? Looking at the implementation, it seems JsToken is typedef'd differently for each platform/browser.. are there any macros or functions that deal directly with JsToken and wrap it? I.e... if the JsToken is a Javascript String.. could I do something like JSTOKEN_TO_STRING16(token) ?
