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
5af33ee0
Commit
5af33ee0
authored
Oct 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use strict function prototypes.
parent
ceac768a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
msvcirt.c
dlls/msvcirt/msvcirt.c
+1
-1
cpp.c
dlls/msvcrt/cpp.c
+1
-1
cppexcept.c
dlls/msvcrt/cppexcept.c
+1
-1
cppexcept.h
dlls/msvcrt/cppexcept.h
+4
-4
No files found.
dlls/msvcirt/msvcirt.c
View file @
5af33ee0
...
...
@@ -36,7 +36,7 @@ typedef struct {
#define THISCALL(func) __thiscall_ ## func
#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func)
#define DEFINE_THISCALL_WRAPPER(func,args) \
extern void THISCALL(func)(); \
extern void THISCALL(func)(
void
); \
__ASM_GLOBAL_FUNC(__thiscall_ ## func, \
"popl %eax\n\t" \
"pushl %ecx\n\t" \
...
...
dlls/msvcrt/cpp.c
View file @
5af33ee0
...
...
@@ -74,7 +74,7 @@ typedef struct _rtti_object_locator
#define THISCALL(func) __thiscall_ ## func
#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func)
#define DEFINE_THISCALL_WRAPPER(func,args) \
extern void THISCALL(func)(); \
extern void THISCALL(func)(
void
); \
__ASM_GLOBAL_FUNC(__thiscall_ ## func, \
"popl %eax\n\t" \
"pushl %ecx\n\t" \
...
...
dlls/msvcrt/cppexcept.c
View file @
5af33ee0
...
...
@@ -199,7 +199,7 @@ static void copy_exception( void *object, cxx_exception_frame *frame,
/* unwind the local function up to a given trylevel */
static
void
cxx_local_unwind
(
cxx_exception_frame
*
frame
,
const
cxx_function_descr
*
descr
,
int
last_level
)
{
void
(
*
handler
)();
void
(
*
handler
)(
void
);
int
trylevel
=
frame
->
trylevel
;
while
(
trylevel
!=
last_level
)
...
...
dlls/msvcrt/cppexcept.h
View file @
5af33ee0
...
...
@@ -24,7 +24,7 @@
#define CXX_FRAME_MAGIC 0x19930520
#define CXX_EXCEPTION 0xe06d7363
typedef
void
(
*
vtable_ptr
)();
typedef
void
(
*
vtable_ptr
)(
void
);
/* type_info object, see cpp.c for implementation */
typedef
struct
__type_info
...
...
@@ -56,7 +56,7 @@ typedef struct __catchblock_info
UINT
flags
;
/* flags (see below) */
const
type_info
*
type_info
;
/* C++ type caught by this block */
int
offset
;
/* stack offset to copy exception object to */
void
(
*
handler
)(
);
/* catch block handler code */
void
(
*
handler
)(
void
);
/* catch block handler code */
}
catchblock_info
;
#define TYPE_FLAG_CONST 1
#define TYPE_FLAG_VOLATILE 2
...
...
@@ -76,7 +76,7 @@ typedef struct __tryblock_info
typedef
struct
__unwind_info
{
int
prev
;
/* prev trylevel unwind handler, to run after this one */
void
(
*
handler
)(
);
/* unwind handler */
void
(
*
handler
)(
void
);
/* unwind handler */
}
unwind_info
;
/* descriptor of all try blocks of a given function */
...
...
@@ -128,7 +128,7 @@ typedef DWORD (*cxx_exc_custom_handler)( PEXCEPTION_RECORD, cxx_exception_frame*
typedef
struct
__cxx_exception_type
{
UINT
flags
;
/* TYPE_FLAG flags */
void
(
*
destructor
)(
);
/* exception object destructor */
void
(
*
destructor
)(
void
);
/* exception object destructor */
cxx_exc_custom_handler
custom_handler
;
/* custom handler for this exception */
const
cxx_type_info_table
*
type_info_table
;
/* list of types for this exception object */
}
cxx_exception_type
;
...
...
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