Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bc768b09
Commit
bc768b09
authored
Sep 17, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Store Boolean object's value as BOOL instead of VARIANT_BOOL.
parent
5fecc71d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bool.c
dlls/jscript/bool.c
+2
-2
jscript.h
dlls/jscript/jscript.h
+1
-1
No files found.
dlls/jscript/bool.c
View file @
bc768b09
...
...
@@ -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
;
...
...
dlls/jscript/jscript.h
View file @
bc768b09
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment