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
96e2a766
Commit
96e2a766
authored
Sep 26, 2022
by
Torge Matthies
Committed by
Alexandre Julliard
Dec 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Factor out EXCEPTION_RECORD to exception_ptr conversion.
parent
11631680
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
exception_ptr.c
dlls/msvcrt/exception_ptr.c
+12
-10
No files found.
dlls/msvcrt/exception_ptr.c
View file @
96e2a766
...
...
@@ -151,15 +151,9 @@ static inline void call_copy_ctor( void *func, void *this, void *src, int has_vb
}
#endif
/*********************************************************************
* ?__ExceptionPtrCurrentException@@YAXPAX@Z
* ?__ExceptionPtrCurrentException@@YAXPEAX@Z
*/
#ifndef __x86_64__
void
__cdecl
__ExceptionPtrCurrentException
(
exception_ptr
*
ep
)
static
void
exception_ptr_from_record
(
exception_ptr
*
ep
,
EXCEPTION_RECORD
*
rec
)
{
EXCEPTION_RECORD
*
rec
=
msvcrt_get_thread_data
()
->
exc_record
;
TRACE
(
"(%p)
\n
"
,
ep
);
if
(
!
rec
)
...
...
@@ -202,10 +196,8 @@ void __cdecl __ExceptionPtrCurrentException(exception_ptr *ep)
return
;
}
#else
void
__cdecl
__ExceptionPtrCurrentException
(
exception_ptr
*
ep
)
static
void
exception_ptr_from_record
(
exception_ptr
*
ep
,
EXCEPTION_RECORD
*
rec
)
{
EXCEPTION_RECORD
*
rec
=
msvcrt_get_thread_data
()
->
exc_record
;
TRACE
(
"(%p)
\n
"
,
ep
);
if
(
!
rec
)
...
...
@@ -250,6 +242,16 @@ void __cdecl __ExceptionPtrCurrentException(exception_ptr *ep)
}
#endif
/*********************************************************************
* ?__ExceptionPtrCurrentException@@YAXPAX@Z
* ?__ExceptionPtrCurrentException@@YAXPEAX@Z
*/
void
__cdecl
__ExceptionPtrCurrentException
(
exception_ptr
*
ep
)
{
TRACE
(
"(%p)
\n
"
,
ep
);
exception_ptr_from_record
(
ep
,
msvcrt_get_thread_data
()
->
exc_record
);
}
#if _MSVCR_VER >= 110
/*********************************************************************
* ?__ExceptionPtrToBool@@YA_NPBX@Z
...
...
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