mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 11:08:45 +00:00
msvcrt: Move static function from header into file where it is called.
This commit is contained in:
parent
26af24c905
commit
464a6eb431
2 changed files with 6 additions and 6 deletions
|
@ -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_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 )
|
||||
{
|
||||
const vtable_ptr *vtable = get_vtable( cppobj );
|
||||
|
|
|
@ -135,12 +135,6 @@ typedef struct __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 )
|
||||
{
|
||||
if (!info) return "{}";
|
||||
|
|
Loading…
Reference in a new issue