ReactOS 0.4.15-dev-7889-g76290a6
utility.cpp File Reference
#include "precomp.h"
Include dependency graph for utility.cpp:

Go to the source code of this file.

Functions

voidoperator new (size_t size)
 
void operator delete (void *p)
 
void operator delete (void *p, UINT_PTR)
 

Function Documentation

◆ operator delete() [1/2]

void operator delete ( void p)
noexcept

Definition at line 8 of file utility.cpp.

9{
10 LocalFree(p);
11}
GLfloat GLfloat p
Definition: glext.h:8902
HLOCAL NTAPI LocalFree(HLOCAL hMem)
Definition: heapmem.c:1594

◆ operator delete() [2/2]

void operator delete ( void p,
UINT_PTR   
)

Definition at line 13 of file utility.cpp.

14{
15 LocalFree(p);
16}

◆ operator new()

void * operator new ( size_t  size)

Definition at line 3 of file utility.cpp.

4{
6}
GLsizeiptr size
Definition: glext.h:5919
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:1390
#define LMEM_ZEROINIT
Definition: winbase.h:375