ReactOS 0.4.16-dev-1067-ge98bba2
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 208 of file heap.c.

209{
210 return MSVCRT_new_handler;
211}
static MSVCRT_new_handler_func MSVCRT_new_handler
Definition: heap.c:69

Referenced by _callnewh().

◆ _query_new_mode()

_ACRTIMP int __cdecl _query_new_mode ( void  )

Definition at line 217 of file heap.c.

218{
219 return MSVCRT_new_mode;
220}
static int MSVCRT_new_mode
Definition: heap.c:70

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()