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
5ff7af70
Commit
5ff7af70
authored
Aug 08, 2013
by
Kai Tietz
Committed by
Alexandre Julliard
Aug 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: New option --rt for enabling rt's specific language extensions.
parent
b6bfd6d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
widl.c
tools/widl/widl.c
+7
-0
widl.h
tools/widl/widl.h
+1
-0
widl.man.in
tools/widl/widl.man.in
+3
-0
No files found.
tools/widl/widl.c
View file @
5ff7af70
...
...
@@ -72,6 +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
"
" -s Generate server stub
\n
"
" -t Generate typelib
\n
"
" -u Generate interface identifiers file
\n
"
...
...
@@ -113,6 +114,7 @@ int do_win32 = 1;
int
do_win64
=
1
;
int
win32_packing
=
8
;
int
win64_packing
=
8
;
int
do_rt_extension
=
0
;
static
enum
stub_mode
stub_mode
=
MODE_Os
;
char
*
input_name
;
...
...
@@ -152,6 +154,7 @@ enum {
PREFIX_CLIENT_OPTION
,
PREFIX_SERVER_OPTION
,
PRINT_HELP
,
RT_OPTION
,
WIN32_OPTION
,
WIN64_OPTION
,
WIN32_ALIGN_OPTION
,
...
...
@@ -171,6 +174,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
},
{
"win32"
,
0
,
NULL
,
WIN32_OPTION
},
{
"win64"
,
0
,
NULL
,
WIN64_OPTION
},
{
"win32-align"
,
1
,
NULL
,
WIN32_ALIGN_OPTION
},
...
...
@@ -542,6 +546,9 @@ int main(int argc,char *argv[])
case
PRINT_HELP
:
fprintf
(
stderr
,
"%s"
,
usage
);
return
0
;
case
RT_OPTION
:
do_rt_extension
=
1
;
break
;
case
WIN32_OPTION
:
do_win32
=
1
;
do_win64
=
0
;
...
...
tools/widl/widl.h
View file @
5ff7af70
...
...
@@ -49,6 +49,7 @@ extern int do_win32;
extern
int
do_win64
;
extern
int
win32_packing
;
extern
int
win64_packing
;
extern
int
do_rt_extension
;
extern
char
*
input_name
;
extern
char
*
header_name
;
...
...
tools/widl/widl.man.in
View file @
5ff7af70
...
...
@@ -82,6 +82,9 @@ 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.
.PP
.B Registration script options:
.IP "\fB-r\fR"
Generate a registration script. The default output filename is
...
...
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