ntdll/tests: Adjust test_extended_context() for Win11 results.
[wine.git] / include / msvcrt / corecrt_malloc.h
blobab3f03fcb04e40887ce5c04c795363254675af56
1 /*
2 * Heap definitions
4 * Copyright 2001 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_CORECRT_MALLOC_H
21 #define __WINE_CORECRT_MALLOC_H
23 #include <corecrt.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 _ACRTIMP void* __cdecl calloc(size_t,size_t);
30 _ACRTIMP void __cdecl free(void*);
31 _ACRTIMP void* __cdecl malloc(size_t);
32 _ACRTIMP void* __cdecl realloc(void*,size_t);
33 _ACRTIMP void* __cdecl _recalloc(void*,size_t,size_t) __WINE_ALLOC_SIZE(2,3) __WINE_DEALLOC(free);
35 _ACRTIMP void* __cdecl _expand(void*,size_t);
36 _ACRTIMP size_t __cdecl _msize(void*);
38 _ACRTIMP void __cdecl _aligned_free(void*);
39 _ACRTIMP void* __cdecl _aligned_malloc(size_t,size_t) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(_aligned_free) __WINE_MALLOC;
40 _ACRTIMP void* __cdecl _aligned_offset_malloc(size_t,size_t,size_t) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(_aligned_free) __WINE_MALLOC;
41 _ACRTIMP void* __cdecl _aligned_realloc(void*,size_t,size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(_aligned_free);
42 _ACRTIMP void* __cdecl _aligned_offset_realloc(void*,size_t,size_t,size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(_aligned_free);
44 #ifdef __cplusplus
46 #endif
48 #endif /* __WINE_CORECRT_MALLOC_H */