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
fc761cb9
Commit
fc761cb9
authored
Jul 30, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Renamed --rt option to --winrt for midl compatibility.
parent
59e41ab9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
parser.l
tools/widl/parser.l
+1
-1
widl.c
tools/widl/widl.c
+4
-4
widl.h
tools/widl/widl.h
+1
-1
widl.man.in
tools/widl/widl.man.in
+2
-2
No files found.
tools/widl/parser.l
View file @
fc761cb9
...
...
@@ -419,7 +419,7 @@ static int kw_token(const char *kw)
struct keyword key, *kwp;
key.kw = kw;
kwp = bsearch(&key, keywords, NKEYWORDS, sizeof(keywords[0]), kw_cmp_func);
if (kwp && (
do_rt_extension
|| kwp->token != tNAMESPACE)) {
if (kwp && (
winrt_mode
|| kwp->token != tNAMESPACE)) {
parser_lval.str = xstrdup(kwp->kw);
return kwp->token;
}
...
...
tools/widl/widl.c
View file @
fc761cb9
...
...
@@ -72,7 +72,7 @@ static const char usage[] =
" --prefix-client=p Prefix names of client stubs with 'p'
\n
"
" --prefix-server=p Prefix names of server functions with 'p'
\n
"
" -r Generate registration script
\n
"
" --
rt Enable WinRT's language extensions for IDL
\n
"
" --
winrt Enable Windows Runtime mode
\n
"
" -s Generate server stub
\n
"
" -t Generate typelib
\n
"
" -u Generate interface identifiers file
\n
"
...
...
@@ -114,7 +114,7 @@ int do_win32 = 1;
int
do_win64
=
1
;
int
win32_packing
=
8
;
int
win64_packing
=
8
;
int
do_rt_extension
=
0
;
int
winrt_mode
=
0
;
static
enum
stub_mode
stub_mode
=
MODE_Os
;
char
*
input_name
;
...
...
@@ -175,7 +175,7 @@ static const struct option long_options[] = {
{
"prefix-all"
,
1
,
NULL
,
PREFIX_ALL_OPTION
},
{
"prefix-client"
,
1
,
NULL
,
PREFIX_CLIENT_OPTION
},
{
"prefix-server"
,
1
,
NULL
,
PREFIX_SERVER_OPTION
},
{
"rt"
,
0
,
NULL
,
RT_OPTION
},
{
"
win
rt"
,
0
,
NULL
,
RT_OPTION
},
{
"win32"
,
0
,
NULL
,
WIN32_OPTION
},
{
"win64"
,
0
,
NULL
,
WIN64_OPTION
},
{
"win32-align"
,
1
,
NULL
,
WIN32_ALIGN_OPTION
},
...
...
@@ -578,7 +578,7 @@ int main(int argc,char *argv[])
fprintf
(
stderr
,
"%s"
,
usage
);
return
0
;
case
RT_OPTION
:
do_rt_extension
=
1
;
winrt_mode
=
1
;
break
;
case
WIN32_OPTION
:
do_win32
=
1
;
...
...
tools/widl/widl.h
View file @
fc761cb9
...
...
@@ -49,7 +49,7 @@ extern int do_win32;
extern
int
do_win64
;
extern
int
win32_packing
;
extern
int
win64_packing
;
extern
int
do_rt_extension
;
extern
int
winrt_mode
;
extern
char
*
input_name
;
extern
char
*
input_idl_name
;
...
...
tools/widl/widl.man.in
View file @
fc761cb9
...
...
@@ -83,8 +83,8 @@ Only generate 32-bit or 64-bit code respectively (the default is to
generate both 32-bit and 64-bit versions into the same destination
file).
.PP
.IP "\fB--rt\fR"
Enable
additional language extensions for IDL to support WinRT
.
.IP "\fB--
win
rt\fR"
Enable
Windows Runtime mode
.
.PP
.B Registration script options:
.IP "\fB-r\fR"
...
...
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