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
0dd5c442
Commit
0dd5c442
authored
Apr 20, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi: Fix the parse_c_declaration() prototype and remove unused variables.
parent
f8ae6d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
c_parser.pm
tools/winapi/c_parser.pm
+5
-16
No files found.
tools/winapi/c_parser.pm
View file @
0dd5c442
...
...
@@ -563,16 +563,13 @@ sub parse_c_block($$$$$$$) {
########################################################################
# parse_c_declaration
sub
parse_c_declaration
($$$$$$$$$$$$)
{
my
$self
=
shift
;
sub
parse_c_declaration
($$$$)
{
my
(
$self
,
$refcurrent
,
$refline
,
$refcolumn
)
=
@_
;
my
$found_declaration
=
\
$
{
$self
->
{
FOUND_DECLARATION
}};
my
$found_function
=
\
$
{
$self
->
{
FOUND_FUNCTION
}};
my
$refcurrent
=
shift
;
my
$refline
=
shift
;
my
$refcolumn
=
shift
;
local
$_
=
$$refcurrent
;
my
$line
=
$$refline
;
my
$column
=
$$refcolumn
;
...
...
@@ -591,18 +588,10 @@ sub parse_c_declaration($$$$$$$$$$$$) {
}
# Function
my
$function
=
shift
;
my
$linkage
=
shift
;
my
$calling_convention
=
shift
;
my
$return_type
=
shift
;
my
$name
=
shift
;
my
@arguments
=
shift
;
my
@argument_lines
=
shift
;
my
@argument_columns
=
shift
;
my
$function
;
# Variable
my
$type
;
my
(
$linkage
,
$type
,
$name
)
;
if
(
s/^WINE_(?:DEFAULT|DECLARE)_DEBUG_CHANNEL\s*\(\s*(\w+)\s*\)\s*//s
)
{
# FIXME: Wine specific kludge
$self
->
_update_c_position
(
$&
,
\
$line
,
\
$column
);
...
...
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