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
d55eabbb
Commit
d55eabbb
authored
Nov 29, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp100: Added exception throwing helpers.
parent
2684eee0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
9 deletions
+48
-9
exception.c
dlls/msvcp100/exception.c
+39
-0
msvcp100.spec
dlls/msvcp100/msvcp100.spec
+9
-9
No files found.
dlls/msvcp100/exception.c
View file @
d55eabbb
...
...
@@ -454,6 +454,45 @@ void __cdecl _Nomemory(void)
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
}
/* ?_Xmem@tr1@std@@YAXXZ */
void
__cdecl
_Xmem
(
void
)
{
TRACE
(
"()
\n
"
);
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
}
/* ?_Xinvalid_argument@std@@YAXPBD@Z */
/* ?_Xinvalid_argument@std@@YAXPEBD@Z */
void
__cdecl
_Xinvalid_argument
(
const
char
*
str
)
{
TRACE
(
"(%s)
\n
"
,
debugstr_a
(
str
));
throw_exception
(
EXCEPTION_INVALID_ARGUMENT
,
str
);
}
/* ?_Xlength_error@std@@YAXPBD@Z */
/* ?_Xlength_error@std@@YAXPEBD@Z */
void
__cdecl
_Xlength_error
(
const
char
*
str
)
{
TRACE
(
"(%s)
\n
"
,
debugstr_a
(
str
));
throw_exception
(
EXCEPTION_LENGTH_ERROR
,
str
);
}
/* ?_Xout_of_range@std@@YAXPBD@Z */
/* ?_Xout_of_range@std@@YAXPEBD@Z */
void
__cdecl
_Xout_of_range
(
const
char
*
str
)
{
TRACE
(
"(%s)
\n
"
,
debugstr_a
(
str
));
throw_exception
(
EXCEPTION_OUT_OF_RANGE
,
str
);
}
/* ?_Xruntime_error@std@@YAXPBD@Z */
/* ?_Xruntime_error@std@@YAXPEBD@Z */
void
__cdecl
_Xruntime_error
(
const
char
*
str
)
{
TRACE
(
"(%s)
\n
"
,
debugstr_a
(
str
));
throw_exception
(
EXCEPTION_RUNTIME_ERROR
,
str
);
}
#ifndef __GNUC__
void
__asm_dummy_vtables
(
void
)
{
#endif
...
...
dlls/msvcp100/msvcp100.spec
View file @
d55eabbb
...
...
@@ -1232,17 +1232,17 @@
@ stub ?_XLgamma@tr1@std@@YAOO@Z
@ stub ?_Xbad@tr1@std@@YAXW4error_type@regex_constants@12@@Z
@ stub ?_Xfunc@tr1@std@@YAXXZ
@
stub -arch=win32 ?_Xinvalid_argument@std@@YAXPBD@Z
@
stub -arch=win64 ?_Xinvalid_argument@std@@YAXPEBD@Z
@
stub -arch=win32 ?_Xlength_error@std@@YAXPBD@Z
@
stub -arch=win64 ?_Xlength_error@std@@YAXPEBD@Z
@
stub ?_Xmem@tr1@std@@YAXXZ
@
stub -arch=win32 ?_Xout_of_range@std@@YAXPBD@Z
@
stub -arch=win64 ?_Xout_of_range@std@@YAXPEBD@Z
@
cdecl -arch=win32 ?_Xinvalid_argument@std@@YAXPBD@Z(str) _Xinvalid_argument
@
cdecl -arch=win64 ?_Xinvalid_argument@std@@YAXPEBD@Z(str) _Xinvalid_argument
@
cdecl -arch=win32 ?_Xlength_error@std@@YAXPBD@Z(str) _Xlength_error
@
cdecl -arch=win64 ?_Xlength_error@std@@YAXPEBD@Z(str) _Xlength_error
@
cdecl ?_Xmem@tr1@std@@YAXXZ() _Xmem
@
cdecl -arch=win32 ?_Xout_of_range@std@@YAXPBD@Z(str) _Xout_of_range
@
cdecl -arch=win64 ?_Xout_of_range@std@@YAXPEBD@Z(str) _Xout_of_range
@ stub -arch=win32 ?_Xoverflow_error@std@@YAXPBD@Z
@ stub -arch=win64 ?_Xoverflow_error@std@@YAXPEBD@Z
@
stub -arch=win32 ?_Xruntime_error@std@@YAXPBD@Z
@
stub -arch=win64 ?_Xruntime_error@std@@YAXPEBD@Z
@
cdecl -arch=win32 ?_Xruntime_error@std@@YAXPBD@Z(str) _Xruntime_error
@
cdecl -arch=win64 ?_Xruntime_error@std@@YAXPEBD@Z(str) _Xruntime_error
@ thiscall -arch=win32 ?always_noconv@codecvt_base@std@@QBE_NXZ(ptr) codecvt_base_always_noconv
@ cdecl -arch=win64 ?always_noconv@codecvt_base@std@@QEBA_NXZ(ptr) codecvt_base_always_noconv
@ thiscall -arch=win32 ?bad@ios_base@std@@QBE_NXZ(ptr) ios_base_bad
...
...
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