jscript: Store Boolean object's value as BOOL instead of VARIANT_BOOL.
This commit is contained in:
parent
5fecc71d34
commit
bc768b0906
|
@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(jscript);
|
|||
typedef struct {
|
||||
jsdisp_t dispex;
|
||||
|
||||
VARIANT_BOOL val;
|
||||
BOOL val;
|
||||
} BoolInstance;
|
||||
|
||||
static const WCHAR toStringW[] = {'t','o','S','t','r','i','n','g',0};
|
||||
|
@ -199,7 +199,7 @@ HRESULT create_bool_constr(script_ctx_t *ctx, jsdisp_t *object_prototype, jsdisp
|
|||
return hres;
|
||||
}
|
||||
|
||||
HRESULT create_bool(script_ctx_t *ctx, VARIANT_BOOL b, jsdisp_t **ret)
|
||||
HRESULT create_bool(script_ctx_t *ctx, BOOL b, jsdisp_t **ret)
|
||||
{
|
||||
BoolInstance *bool;
|
||||
HRESULT hres;
|
||||
|
|
|
@ -244,7 +244,7 @@ HRESULT create_array(script_ctx_t*,DWORD,jsdisp_t**) DECLSPEC_HIDDEN;
|
|||
HRESULT create_regexp(script_ctx_t*,const WCHAR *,int,DWORD,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_regexp_var(script_ctx_t*,jsval_t,jsval_t*,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_string(script_ctx_t*,const WCHAR*,DWORD,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_bool(script_ctx_t*,VARIANT_BOOL,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_bool(script_ctx_t*,BOOL,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_number(script_ctx_t*,double,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
HRESULT create_vbarray(script_ctx_t*,SAFEARRAY*,jsdisp_t**) DECLSPEC_HIDDEN;
|
||||
|
||||
|
|
Loading…
Reference in New Issue