Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ae0beb22
Commit
ae0beb22
authored
Jul 29, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Reorder switch cases to keep alphabetical order.
parent
8fd97169
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
write_msft.c
tools/widl/write_msft.c
+3
-3
No files found.
tools/widl/write_msft.c
View file @
ae0beb22
...
...
@@ -1311,6 +1311,9 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, const func_t *func, int
if
(
func
->
def
->
attrs
)
LIST_FOR_EACH_ENTRY
(
attr
,
func
->
def
->
attrs
,
const
attr_t
,
entry
)
{
expr_t
*
expr
=
attr
->
u
.
pval
;
switch
(
attr
->
type
)
{
case
ATTR_BINDABLE
:
funcflags
|=
0x4
;
/* FUNCFLAG_BINDABLE */
break
;
case
ATTR_DISPLAYBIND
:
funcflags
|=
0x10
;
/* FUNCFLAG_DISPLAYBIND */
break
;
...
...
@@ -1358,9 +1361,6 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, const func_t *func, int
case
ATTR_RESTRICTED
:
funcflags
|=
0x1
;
/* FUNCFLAG_FRESTRICTED */
break
;
case
ATTR_BINDABLE
:
funcflags
|=
0x4
;
/* FUNCFLAG_BINDABLE */
break
;
case
ATTR_VARARG
:
if
(
num_optional
||
num_defaults
)
warning
(
"add_func_desc: ignoring vararg in function with optional or defaultvalue params
\n
"
);
...
...
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