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
4252bd86
Commit
4252bd86
authored
Aug 23, 2011
by
Michał Ziętek
Committed by
Alexandre Julliard
Aug 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wscript: Implemented Arguments2_get_length.
parent
5079fe98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
arguments.c
programs/wscript/arguments.c
+4
-2
run.js
programs/wscript/tests/run.js
+1
-0
No files found.
programs/wscript/arguments.c
View file @
4252bd86
...
...
@@ -118,8 +118,10 @@ static HRESULT WINAPI Arguments2_Count(IArguments2 *iface, LONG *out_Count)
static
HRESULT
WINAPI
Arguments2_get_length
(
IArguments2
*
iface
,
LONG
*
out_Count
)
{
WINE_FIXME
(
"(%p)
\n
"
,
out_Count
);
return
E_NOTIMPL
;
WINE_TRACE
(
"(%p)
\n
"
,
out_Count
);
*
out_Count
=
numOfArgs
;
return
S_OK
;
}
static
const
IArguments2Vtbl
Arguments2Vtbl
=
{
...
...
programs/wscript/tests/run.js
View file @
4252bd86
...
...
@@ -41,5 +41,6 @@ try {
ok
(
false
,
"expected exception"
);
}
catch
(
e
)
{}
ok
(
WScript
.
Arguments
.
Count
()
===
3
,
"WScript.Arguments.Count() = "
+
WScript
.
Arguments
.
Count
());
ok
(
WScript
.
Arguments
.
length
===
3
,
"WScript.Arguments.length = "
+
WScript
.
Arguments
.
length
);
winetest
.
reportSuccess
();
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