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
0df8b0a0
Commit
0df8b0a0
authored
Feb 07, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Handle data types B,R,S in C++ symbol demangling.
parent
9aa0d88c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
undname.c
dlls/msvcrt/undname.c
+10
-4
No files found.
dlls/msvcrt/undname.c
View file @
0df8b0a0
...
...
@@ -374,8 +374,11 @@ static const char* get_modified_type(struct parsed_symbol* sym, char modif)
switch
(
modif
)
{
case
'A'
:
str_modif
=
" &"
;
break
;
case
'B'
:
str_modif
=
" & volatile"
;
break
;
case
'P'
:
str_modif
=
" *"
;
break
;
case
'Q'
:
str_modif
=
" * const"
;
break
;
case
'R'
:
str_modif
=
" * volatile"
;
break
;
case
'S'
:
str_modif
=
" * const volatile"
;
break
;
case
'?'
:
str_modif
=
""
;
break
;
default:
return
NULL
;
}
...
...
@@ -645,11 +648,14 @@ static BOOL demangle_datatype(struct parsed_symbol* sym, struct datatype_t* ct,
/* not all the time is seems */
if
(
!
(
ct
->
left
=
get_modified_type
(
sym
,
'?'
)))
goto
done
;
break
;
case
'A'
:
if
(
!
(
ct
->
left
=
get_modified_type
(
sym
,
'A'
)))
goto
done
;
case
'A'
:
/* reference */
case
'B'
:
/* volatile reference */
if
(
!
(
ct
->
left
=
get_modified_type
(
sym
,
dt
)))
goto
done
;
break
;
case
'Q'
:
if
(
!
(
ct
->
left
=
get_modified_type
(
sym
,
in_args
?
'Q'
:
'P'
)))
goto
done
;
case
'Q'
:
/* const pointer */
case
'R'
:
/* volatile pointer */
case
'S'
:
/* const volatile pointer */
if
(
!
(
ct
->
left
=
get_modified_type
(
sym
,
in_args
?
dt
:
'P'
)))
goto
done
;
break
;
case
'P'
:
/* Pointer */
if
(
isdigit
(
*
sym
->
current
))
...
...
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