[PATCH 02/10] jscript: Store the necessary function and variable info in the script TypeInfo.
gabrielopcode at gmail.com
Mon Dec 9 09:59:23 CST 2019
On 12/9/19 5:24 PM, Gabriel Ivăncescu wrote:
> On 12/9/19 4:56 PM, Jacek Caban wrote:
>> On 12/9/19 3:01 PM, Gabriel Ivăncescu wrote:
>>> +BOOL is_source_function(jsdisp_t *jsdisp)
>>> + return function_from_jsdisp(jsdisp)->vtbl ==
>> I'm not sure about that, are native functions really not treated as
>> functions? It should be easy to test with something like:
>> var native_func = decodeURI;
> Ok, I'll see about the tests, but I was actually more worried about how
> to get the args and their names for native functions (didn't know how).
Looks like indeed native functions are completely ignored: they don't
show up as variables, either.
So do I keep this patch it as-is?
More information about the wine-devel