ReactOS 0.4.16-dev-2110-ge3521eb
new.h File Reference
#include <corecrt.h>
#include <vcruntime_new_debug.h>
Include dependency graph for new.h:

Go to the source code of this file.

Macros

#define _INC_NEW
 

Functions

_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER typedef int (__CRTDECL *_PNH)(size_t)
 
_PNH __cdecl _query_new_handler (void)
 
_PNH __cdecl _set_new_handler (_In_opt_ _PNH _NewHandler)
 
_ACRTIMP int __cdecl _query_new_mode (void)
 
_ACRTIMP int __cdecl _set_new_mode (_In_ int _NewMode)
 

Macro Definition Documentation

◆ _INC_NEW

#define _INC_NEW

Definition at line 10 of file new.h.

Function Documentation

◆ _query_new_handler()

_PNH __cdecl _query_new_handler ( void  )

Definition at line 187 of file heap.c.

188{
189 return MSVCRT_new_handler;
190}
static MSVCRT_new_handler_func MSVCRT_new_handler
Definition: heap.c:48

Referenced by _callnewh().

◆ _query_new_mode()

_ACRTIMP int __cdecl _query_new_mode ( void  )

Definition at line 196 of file heap.c.

197{
198 return MSVCRT_new_mode;
199}
static LONG MSVCRT_new_mode
Definition: heap.c:49

Referenced by __declspec(), for(), and heap_alloc_dbg().

◆ _set_new_handler()

_PNH __cdecl _set_new_handler ( _In_opt_ _PNH  _NewHandler)

◆ _set_new_mode()

_ACRTIMP int __cdecl _set_new_mode ( _In_ int  _NewMode)

◆ int()