[webkit-dev] JSObjectCallAsFunctionCallback question
darin at apple.com
Thu May 14 20:32:23 PDT 2009
On May 14, 2009, at 7:53 PM, Xiong wrote:
> So,can we add a member for the "function object" to store the method
> name[here is "getValues"] in theoretical ?
Yes, in theory you could do that. Although that’s not the typical
> And this also like the "JSObjectRef object" variable in the callback
> prototype,we can get the class name like this:
No, you can’t do that. Those three functions are part of the internals
Instead, if you want to know if an object has a particular class you
can use JSValueIsObjectOfClass.
More information about the webkit-dev