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
3db08321
Commit
3db08321
authored
Jan 21, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: symbol undecoration: Corrected handling of non static member function modifiers.
parent
d7c0e274
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
undname.c
dlls/msvcrt/undname.c
+11
-8
No files found.
dlls/msvcrt/undname.c
View file @
3db08321
...
...
@@ -971,6 +971,7 @@ done:
*/
static
BOOL
handle_method
(
struct
parsed_symbol
*
sym
,
BOOL
cast_op
)
{
char
accmem
;
const
char
*
access
=
NULL
;
const
char
*
member_type
=
NULL
;
struct
datatype_t
ct_ret
;
...
...
@@ -1012,9 +1013,12 @@ static BOOL handle_method(struct parsed_symbol* sym, BOOL cast_op)
* 'Z'
*/
accmem
=
*
sym
->
current
++
;
if
(
accmem
<
'A'
||
accmem
>
'Z'
)
goto
done
;
if
(
!
(
sym
->
flags
&
UNDNAME_NO_ACCESS_SPECIFIERS
))
{
switch
((
*
sym
->
current
-
'A'
)
/
8
)
switch
((
accmem
-
'A'
)
/
8
)
{
case
0
:
access
=
"private: "
;
break
;
case
1
:
access
=
"protected: "
;
break
;
...
...
@@ -1023,9 +1027,9 @@ static BOOL handle_method(struct parsed_symbol* sym, BOOL cast_op)
}
if
(
!
(
sym
->
flags
&
UNDNAME_NO_MEMBER_TYPE
))
{
if
(
*
sym
->
current
>=
'A'
&&
*
sym
->
current
<=
'X'
)
if
(
accmem
<=
'X'
)
{
switch
((
*
sym
->
current
-
'A'
)
%
8
)
switch
((
accmem
-
'A'
)
%
8
)
{
case
2
:
case
3
:
member_type
=
"static "
;
break
;
case
4
:
case
5
:
member_type
=
"virtual "
;
break
;
...
...
@@ -1034,17 +1038,16 @@ static BOOL handle_method(struct parsed_symbol* sym, BOOL cast_op)
}
}
if
(
*
sym
->
current
>=
'A'
&&
*
sym
->
current
<=
'X'
)
if
(
accmem
<=
'X'
)
{
if
(
!
((
*
sym
->
current
-
'A'
)
&
2
)
)
if
(
((
accmem
-
'A'
)
%
8
)
!=
2
&&
((
accmem
-
'A'
)
%
8
)
!=
3
)
{
/* Implicit 'this' pointer */
/* If there is an implicit this pointer, const modifier follows */
if
(
!
get_modifier
(
*++
sym
->
current
,
&
modifier
))
goto
done
;
if
(
!
get_modifier
(
*
sym
->
current
,
&
modifier
))
goto
done
;
sym
->
current
++
;
}
}
else
if
(
*
sym
->
current
<
'A'
||
*
sym
->
current
>
'Z'
)
goto
done
;
sym
->
current
++
;
name
=
get_class_string
(
sym
,
0
);
...
...
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