ntdll: Add DECLSPEC_HOTPATCH to functions patched by libtcmalloc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b8b946dd0f
commit
bca3ec9fd9
|
@ -1662,7 +1662,7 @@ HANDLE WINAPI RtlDestroyHeap( HANDLE heap )
|
||||||
* NOTES
|
* NOTES
|
||||||
* This call does not SetLastError().
|
* This call does not SetLastError().
|
||||||
*/
|
*/
|
||||||
PVOID WINAPI RtlAllocateHeap( HANDLE heap, ULONG flags, SIZE_T size )
|
void * WINAPI DECLSPEC_HOTPATCH RtlAllocateHeap( HANDLE heap, ULONG flags, SIZE_T size )
|
||||||
{
|
{
|
||||||
ARENA_FREE *pArena;
|
ARENA_FREE *pArena;
|
||||||
ARENA_INUSE *pInUse;
|
ARENA_INUSE *pInUse;
|
||||||
|
@ -1747,7 +1747,7 @@ PVOID WINAPI RtlAllocateHeap( HANDLE heap, ULONG flags, SIZE_T size )
|
||||||
* Success: TRUE, if ptr is NULL or was freed successfully.
|
* Success: TRUE, if ptr is NULL or was freed successfully.
|
||||||
* Failure: FALSE.
|
* Failure: FALSE.
|
||||||
*/
|
*/
|
||||||
BOOLEAN WINAPI RtlFreeHeap( HANDLE heap, ULONG flags, PVOID ptr )
|
BOOLEAN WINAPI DECLSPEC_HOTPATCH RtlFreeHeap( HANDLE heap, ULONG flags, void *ptr )
|
||||||
{
|
{
|
||||||
ARENA_INUSE *pInUse;
|
ARENA_INUSE *pInUse;
|
||||||
SUBHEAP *subheap;
|
SUBHEAP *subheap;
|
||||||
|
|
Loading…
Reference in New Issue