msvcp90: Correctly declare pointers to delete/new functions.

This commit is contained in:
Piotr Caban 2010-07-25 12:23:22 +02:00 committed by Alexandre Julliard
parent faa7eae8c4
commit cb432866d2
2 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,8 @@ typedef unsigned char MSVCP_BOOL;
void __cdecl _invalid_parameter(const wchar_t*, const wchar_t*,
const wchar_t*, unsigned int, uintptr_t);
void* (__cdecl *MSVCRT_operator_new)(size_t);
void (__cdecl *MSVCRT_operator_delete)(void*);
extern void* (__cdecl *MSVCRT_operator_new)(size_t);
extern void (__cdecl *MSVCRT_operator_delete)(void*);
/* Copied from dlls/msvcrt/cpp.c */
#ifdef __i386__ /* thiscall functions are i386-specific */

View File

@ -28,6 +28,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcp90);
void* (__cdecl *MSVCRT_operator_new)(size_t);
void (__cdecl *MSVCRT_operator_delete)(void*);
void init_cxx_funcs(void)
{
HMODULE hmod = GetModuleHandleA("msvcrt.dll");