ReactOS 0.4.15-dev-8348-gc1b9bb5
CCRTAllocator Class Reference

#include <atlalloc.h>

Static Public Member Functions

static voidAllocate (_In_ size_t size)
 
static voidReallocate (_In_opt_ void *ptr, _In_ size_t size)
 
static void Free (_In_opt_ void *ptr)
 

Detailed Description

Definition at line 24 of file atlalloc.h.

Member Function Documentation

◆ Allocate()

static void * CCRTAllocator::Allocate ( _In_ size_t  size)
inlinestatic

Definition at line 27 of file atlalloc.h.

28 {
29 return malloc(size);
30 }
#define malloc
Definition: debug_ros.c:4
GLsizeiptr size
Definition: glext.h:5919

◆ Free()

static void CCRTAllocator::Free ( _In_opt_ void ptr)
inlinestatic

Definition at line 37 of file atlalloc.h.

38 {
39 free(ptr);
40 }
#define free
Definition: debug_ros.c:5
static PVOID ptr
Definition: dispmode.c:27

◆ Reallocate()

static void * CCRTAllocator::Reallocate ( _In_opt_ void ptr,
_In_ size_t  size 
)
inlinestatic

Definition at line 32 of file atlalloc.h.

33 {
34 return realloc(ptr, size);
35 }
#define realloc
Definition: debug_ros.c:6

The documentation for this class was generated from the following file: