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
d0740365
Commit
d0740365
authored
Oct 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added remaining week day constants implementations.
parent
89c76714
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
12 deletions
+24
-12
global.c
dlls/vbscript/global.c
+12
-12
api.vbs
dlls/vbscript/tests/api.vbs
+12
-0
No files found.
dlls/vbscript/global.c
View file @
d0740365
...
...
@@ -913,38 +913,38 @@ static HRESULT Global_vbSunday(vbdisp_t *This, VARIANT *arg, unsigned args_cnt,
static
HRESULT
Global_vbMonday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
2
)
;
}
static
HRESULT
Global_vbTuesday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
3
)
;
}
static
HRESULT
Global_vbWednesday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
4
)
;
}
static
HRESULT
Global_vbThursday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
5
)
;
}
static
HRESULT
Global_vbFriday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
6
)
;
}
static
HRESULT
Global_vbSaturday
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
{
FIXM
E
(
"
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"
\n
"
);
return
return_short
(
res
,
7
)
;
}
static
HRESULT
Global_vbFirstJan1
(
vbdisp_t
*
This
,
VARIANT
*
arg
,
unsigned
args_cnt
,
VARIANT
*
res
)
...
...
dlls/vbscript/tests/api.vbs
View file @
d0740365
...
...
@@ -25,6 +25,18 @@ End Class
Call
ok
(
vbSunday
=
1
,
"vbSunday = "
&
vbSunday
)
Call
ok
(
getVT
(
vbSunday
)
=
"VT_I2"
,
"getVT(vbSunday) = "
&
getVT
(
vbSunday
))
Call
ok
(
vbMonday
=
2
,
"vbMonday = "
&
vbMonday
)
Call
ok
(
getVT
(
vbMonday
)
=
"VT_I2"
,
"getVT(vbMonday) = "
&
getVT
(
vbMonday
))
Call
ok
(
vbTuesday
=
3
,
"vbTuesday = "
&
vbTuesday
)
Call
ok
(
getVT
(
vbTuesday
)
=
"VT_I2"
,
"getVT(vbTuesday) = "
&
getVT
(
vbTuesday
))
Call
ok
(
vbWednesday
=
4
,
"vbWednesday = "
&
vbWednesday
)
Call
ok
(
getVT
(
vbWednesday
)
=
"VT_I2"
,
"getVT(vbWednesday) = "
&
getVT
(
vbWednesday
))
Call
ok
(
vbThursday
=
5
,
"vbThursday = "
&
vbThursday
)
Call
ok
(
getVT
(
vbThursday
)
=
"VT_I2"
,
"getVT(vbThursday) = "
&
getVT
(
vbThursday
))
Call
ok
(
vbFriday
=
6
,
"vbFriday = "
&
vbFriday
)
Call
ok
(
getVT
(
vbFriday
)
=
"VT_I2"
,
"getVT(vbFriday) = "
&
getVT
(
vbFriday
))
Call
ok
(
vbSaturday
=
7
,
"vbSaturday = "
&
vbSaturday
)
Call
ok
(
getVT
(
vbSaturday
)
=
"VT_I2"
,
"getVT(vbSaturday) = "
&
getVT
(
vbSaturday
))
Call
ok
(
isObject
(
new
EmptyClass
),
"isObject(new EmptyClass) is not true?"
)
Set
x
=
new
EmptyClass
...
...
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