ReactOS 0.4.16-dev-2104-gb84fa49
corecrt_malloc.h
Go to the documentation of this file.
1/*
2 * Heap definitions
3 *
4 * Copyright 2001 Francois Gouget.
5 *
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.
10 *
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.
15 *
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
19 */
20#ifndef __WINE_CORECRT_MALLOC_H
21#define __WINE_CORECRT_MALLOC_H
22
23#include <corecrt.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
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);
34
35_ACRTIMP void* __cdecl _expand(void*,size_t);
36_ACRTIMP size_t __cdecl _msize(void*);
37
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* __WINE_CORECRT_MALLOC_H */
#define realloc
Definition: debug_ros.c:6
#define free
Definition: debug_ros.c:5
#define malloc
Definition: debug_ros.c:4
#define __WINE_ALLOC_SIZE(...)
Definition: corecrt.h:328
#define __cdecl
Definition: corecrt.h:121
#define __WINE_DEALLOC(...)
Definition: corecrt.h:334
#define _ACRTIMP
Definition: corecrt.h:153
#define __WINE_MALLOC
Definition: corecrt.h:340
_ACRTIMP void *__cdecl _aligned_offset_realloc(void *, size_t, size_t, size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(_aligned_free)
Definition: heap.c:612
_ACRTIMP void *__cdecl _recalloc(void *, size_t, size_t) __WINE_ALLOC_SIZE(2
_ACRTIMP void *__cdecl _aligned_malloc(size_t, size_t) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(_aligned_free) __WINE_MALLOC
Definition: heap.c:603
_ACRTIMP void *__cdecl _aligned_realloc(void *, size_t, size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(_aligned_free)
Definition: heap.c:727
_ACRTIMP size_t __cdecl _msize(void *)
Definition: heap.c:354
_ACRTIMP void *__cdecl _expand(void *, size_t)
Definition: heap.c:236
_ACRTIMP void *__cdecl _aligned_offset_malloc(size_t, size_t, size_t) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(_aligned_free) __WINE_MALLOC
Definition: heap.c:560
_ACRTIMP void __cdecl _aligned_free(void *)
Definition: heap.c:546
#define calloc
Definition: rosglue.h:14