You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
804 B
31 lines
804 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1997.
|
|
//
|
|
// File: Alloc.h
|
|
//
|
|
// Contents: Allocation routines
|
|
//
|
|
// Classes:
|
|
//
|
|
// Notes:
|
|
//
|
|
// History: 05-Nov-97 rogerg Created.
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef _ONESTOPALLOC_
|
|
#define _ONESTOPALLOC_
|
|
|
|
inline void* __cdecl operator new (size_t size);
|
|
inline void __cdecl operator delete(void FAR* lpv);
|
|
|
|
extern "C" void __RPC_API MIDL_user_free(IN void __RPC_FAR * ptr);
|
|
extern "C" void __RPC_FAR * __RPC_API MIDL_user_allocate(IN size_t len);
|
|
|
|
LPVOID ALLOC(ULONG cb);
|
|
void FREE(void* pv);
|
|
DWORD REALLOC(void **ppv,ULONG cb);
|
|
|
|
#endif // _ONESTOPALLOC_
|