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
464a6eb4
Commit
464a6eb4
authored
Jan 15, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Move static function from header into file where it is called.
parent
26af24c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cpp.c
dlls/msvcrt/cpp.c
+6
-0
cppexcept.h
dlls/msvcrt/cppexcept.h
+0
-6
No files found.
dlls/msvcrt/cpp.c
View file @
464a6eb4
...
@@ -97,6 +97,12 @@ extern const vtable_ptr MSVCRT_bad_cast_vtable;
...
@@ -97,6 +97,12 @@ extern const vtable_ptr MSVCRT_bad_cast_vtable;
extern
const
vtable_ptr
MSVCRT___non_rtti_object_vtable
;
extern
const
vtable_ptr
MSVCRT___non_rtti_object_vtable
;
extern
const
vtable_ptr
MSVCRT_type_info_vtable
;
extern
const
vtable_ptr
MSVCRT_type_info_vtable
;
/* get the vtable pointer for a C++ object */
static
inline
const
vtable_ptr
*
get_vtable
(
void
*
obj
)
{
return
*
(
const
vtable_ptr
**
)
obj
;
}
static
inline
const
rtti_object_locator
*
get_obj_locator
(
void
*
cppobj
)
static
inline
const
rtti_object_locator
*
get_obj_locator
(
void
*
cppobj
)
{
{
const
vtable_ptr
*
vtable
=
get_vtable
(
cppobj
);
const
vtable_ptr
*
vtable
=
get_vtable
(
cppobj
);
...
...
dlls/msvcrt/cppexcept.h
View file @
464a6eb4
...
@@ -135,12 +135,6 @@ typedef struct __cxx_exception_type
...
@@ -135,12 +135,6 @@ typedef struct __cxx_exception_type
void
_CxxThrowException
(
exception
*
,
const
cxx_exception_type
*
);
void
_CxxThrowException
(
exception
*
,
const
cxx_exception_type
*
);
/* get the vtable pointer for a C++ object */
static
inline
const
vtable_ptr
*
get_vtable
(
void
*
obj
)
{
return
*
(
const
vtable_ptr
**
)
obj
;
}
static
inline
const
char
*
dbgstr_type_info
(
const
type_info
*
info
)
static
inline
const
char
*
dbgstr_type_info
(
const
type_info
*
info
)
{
{
if
(
!
info
)
return
"{}"
;
if
(
!
info
)
return
"{}"
;
...
...
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