msvcrt: Move static function from header into file where it is called.

This commit is contained in:
Andrew Talbot 2007-01-15 21:56:05 +00:00 committed by Alexandre Julliard
parent 26af24c905
commit 464a6eb431
2 changed files with 6 additions and 6 deletions

View file

@ -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 );

View file

@ -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 "{}";