Files
Timo Kreuzer 991830a0e8 [CRTHEAP] Add static library for crt heap functions
The purpose is to link to this library for wine modules that use only malloc/free/calloc/_recalloc, so they don't require to be linked to msvcrt.
2026-06-18 23:27:41 +00:00

16 lines
370 B
C

/*
* PROJECT: ReactOS CRT heap support library
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: Implementation of malloc
* COPYRIGHT: Copyright 2026 Timo Kreuzer <[email protected]>
*/
#include <malloc.h>
#include <windef.h>
#include <winbase.h>
void* __cdecl malloc(size_t Size)
{
return HeapAlloc(GetProcessHeap(), 0, Size);
}