[PATCH 02/10] jscript: Store the necessary function and variable info in the script TypeInfo.

Jacek Caban jacek at codeweavers.com
Mon Dec 9 08:56:39 CST 2019


On 12/9/19 3:01 PM, Gabriel Ivăncescu wrote:
> +BOOL is_source_function(jsdisp_t *jsdisp)
> +{
> +    return function_from_jsdisp(jsdisp)->vtbl == &InterpretedFunctionVtbl;
> +}


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;


Thanks,

Jacek




More information about the wine-devel mailing list