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
1db0ad97
Commit
1db0ad97
authored
Nov 09, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add -acf command line option.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2ffd106b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
widl.c
tools/widl/widl.c
+11
-4
widl.h
tools/widl/widl.h
+1
-0
widl.man.in
tools/widl/widl.man.in
+2
-0
No files found.
tools/widl/widl.c
View file @
1db0ad97
...
...
@@ -51,6 +51,7 @@
static
const
char
usage
[]
=
"Usage: widl [options...] infile.idl
\n
"
" or: widl [options...] --dlldata-only name1 [name2...]
\n
"
" --acf=file Use ACF file
\n
"
" -app_config Ignored, present for midl compatibility
\n
"
" -b arch Set the target architecture
\n
"
" -c Generate client stub
\n
"
...
...
@@ -122,6 +123,7 @@ static enum stub_mode stub_mode = MODE_Os;
char
*
input_name
;
char
*
input_idl_name
;
char
*
acf_name
;
char
*
header_name
;
char
*
local_stubs_name
;
char
*
header_token
;
...
...
@@ -151,6 +153,8 @@ time_t now;
enum
{
OLDNAMES_OPTION
=
CHAR_MAX
+
1
,
ACF_OPTION
,
APP_CONFIG_OPTION
,
DLLDATA_OPTION
,
DLLDATA_ONLY_OPTION
,
LOCAL_STUBS_OPTION
,
...
...
@@ -160,17 +164,18 @@ enum {
PRINT_HELP
,
RT_NS_PREFIX
,
RT_OPTION
,
ROBUST_OPTION
,
WIN32_OPTION
,
WIN64_OPTION
,
WIN32_ALIGN_OPTION
,
WIN64_ALIGN_OPTION
,
APP_CONFIG_OPTION
,
ROBUST_OPTION
WIN64_ALIGN_OPTION
};
static
const
char
short_options
[]
=
"b:cC:d:D:EhH:I:m:No:O:pP:rsS:tT:uU:VW"
;
static
const
struct
option
long_options
[]
=
{
{
"acf"
,
1
,
NULL
,
ACF_OPTION
},
{
"app_config"
,
0
,
NULL
,
APP_CONFIG_OPTION
},
{
"dlldata"
,
1
,
NULL
,
DLLDATA_OPTION
},
{
"dlldata-only"
,
0
,
NULL
,
DLLDATA_ONLY_OPTION
},
{
"help"
,
0
,
NULL
,
PRINT_HELP
},
...
...
@@ -187,7 +192,6 @@ static const struct option long_options[] = {
{
"win64"
,
0
,
NULL
,
WIN64_OPTION
},
{
"win32-align"
,
1
,
NULL
,
WIN32_ALIGN_OPTION
},
{
"win64-align"
,
1
,
NULL
,
WIN64_ALIGN_OPTION
},
{
"app_config"
,
0
,
NULL
,
APP_CONFIG_OPTION
},
{
NULL
,
0
,
NULL
,
0
}
};
...
...
@@ -613,6 +617,9 @@ int main(int argc,char *argv[])
if
(
win64_packing
!=
2
&&
win64_packing
!=
4
&&
win64_packing
!=
8
)
error
(
"Packing must be one of 2, 4 or 8
\n
"
);
break
;
case
ACF_OPTION
:
acf_name
=
xstrdup
(
optarg
);
break
;
case
APP_CONFIG_OPTION
:
/* widl does not distinguish between app_mode and default mode,
but we ignore this option for midl compatibility */
...
...
tools/widl/widl.h
View file @
1db0ad97
...
...
@@ -54,6 +54,7 @@ extern int use_abi_namespace;
extern
char
*
input_name
;
extern
char
*
input_idl_name
;
extern
char
*
acf_name
;
extern
char
*
header_name
;
extern
char
*
header_token
;
extern
char
*
local_stubs_name
;
...
...
tools/widl/widl.man.in
View file @
1db0ad97
...
...
@@ -121,6 +121,8 @@ number. For the meaning of values, see the \fBDEBUG\fR section.
.B Miscellaneous options:
.IP "\fB-app_config\fR"
Ignored, present for midl compatibility.
.IP "\fB--acf=\fIfile\fR"
Use specified application configuration file.
.IP "\fB--local-stubs=\fIfile\fR"
Generate empty stubs for call_as/local methods in an object interface and
write them to \fIfile\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