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
5079fe98
Commit
5079fe98
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_Count.
parent
1c293750
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 @
5079fe98
...
...
@@ -110,8 +110,10 @@ static HRESULT WINAPI Arguments2_Item(IArguments2 *iface, LONG index, BSTR *out_
static
HRESULT
WINAPI
Arguments2_Count
(
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
HRESULT
WINAPI
Arguments2_get_length
(
IArguments2
*
iface
,
LONG
*
out_Count
)
...
...
programs/wscript/tests/run.js
View file @
5079fe98
...
...
@@ -40,5 +40,6 @@ try {
WScript
.
Arguments
.
Item
(
3
);
ok
(
false
,
"expected exception"
);
}
catch
(
e
)
{}
ok
(
WScript
.
Arguments
.
Count
()
===
3
,
"WScript.Arguments.Count() = "
+
WScript
.
Arguments
.
Count
());
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