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
83047596
Commit
83047596
authored
Jun 21, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi: Add support for GDIPCONST.
parent
1da7a32b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
winapi_parser.pm
tools/winapi/winapi_parser.pm
+2
-2
No files found.
tools/winapi/winapi_parser.pm
View file @
83047596
...
@@ -434,14 +434,14 @@ sub parse_c_file($$) {
...
@@ -434,14 +434,14 @@ sub parse_c_file($$) {
$argument
=~
s/^\s*(.*?)\s*$/$1/
;
$argument
=~
s/^\s*(.*?)\s*$/$1/
;
# print " " . ($n + 1) . ": '$argument'\n";
# print " " . ($n + 1) . ": '$argument'\n";
$argument
=~
s/^(?:IN OUT|IN|OUT)?\s+//
;
$argument
=~
s/^(?:IN OUT|IN|OUT)?\s+//
;
$argument
=~
s/^(?:const|CONST|volatile)?\s+//
;
$argument
=~
s/^(?:const|CONST|
GDIPCONST|
volatile)?\s+//
;
if
(
$argument
=~
/^\.\.\.$/
)
{
if
(
$argument
=~
/^\.\.\.$/
)
{
$argument_type
=
"..."
;
$argument_type
=
"..."
;
$argument_name
=
"..."
;
$argument_name
=
"..."
;
}
elsif
(
$argument
=~
/^
}
elsif
(
$argument
=~
/^
((?:
interface
\
s
+|
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
register
\
s
+|
(?:
signed
\
s
+|
unsigned
\
s
+
)?
((?:
interface
\
s
+|
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
register
\
s
+|
(?:
signed
\
s
+|
unsigned
\
s
+
)?
(?:
short
\
s
+
(?
=
int
)
|
long
\
s
+
(?
=
int
))?)?(?:
\
w
+|
ElfW
\
(
\
w
+\
)
|
WS
\
(
\
w
+\
)))
\
s
*
(?:
short
\
s
+
(?
=
int
)
|
long
\
s
+
(?
=
int
))?)?(?:
\
w
+|
ElfW
\
(
\
w
+\
)
|
WS
\
(
\
w
+\
)))
\
s
*
((?:
__RPC_FAR
|
const
|
CONST
|
volatile
)?
\
s
*
(?:
\*\
s
*
(?:
__RPC_FAR
|
const
|
CONST
|
volatile
)?
\
s
*
?)
*
)
\
s
*
((?:
__RPC_FAR
|
const
|
CONST
|
GDIPCONST
|
volatile
)?
\
s
*
(?:
\*\
s
*
(?:
__RPC_FAR
|
const
|
CONST
|
volatile
)?
\
s
*
?)
*
)
\
s
*
(
\
w
*
)
\
s
*
(
\
[
\
])?(?:
\
s
+
OPTIONAL
)?
$
/
x
)
(
\
w
*
)
\
s
*
(
\
[
\
])?(?:
\
s
+
OPTIONAL
)?
$
/
x
)
{
{
$argument_type
=
$1
;
$argument_type
=
$1
;
...
...
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