msvcrt: Add stub for Concurrency::Alloc.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2017-03-18 12:27:44 +01:00 committed by Alexandre Julliard
parent 6a05069a43
commit 32a4bec909
6 changed files with 19 additions and 10 deletions

View File

@ -217,8 +217,8 @@
@ stub -arch=i386 ??_F_Scheduler@details@Concurrency@@QAEXXZ
@ stub -arch=win64 ??_F_Scheduler@details@Concurrency@@QEAAXXZ
# extern ?AgentEventGuid@Concurrency@@3U_GUID@@B
@ stub -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z
@ stub -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z
@ stub -arch=win64 ?Block@Context@Concurrency@@SAXXZ
# extern ?ChoreEventGuid@Concurrency@@3U_GUID@@B
# extern ?ConcRTEventGuid@Concurrency@@3U_GUID@@B

View File

@ -242,8 +242,8 @@
@ cdecl -arch=win64 ??_U@YAPEAX_KHPEBDH@Z(long long str long) MSVCRT_operator_new_dbg
@ cdecl -arch=win32 ??_V@YAXPAX@Z(ptr) MSVCRT_operator_delete
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete
@ stub -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z
@ stub -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z

View File

@ -400,8 +400,8 @@
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete
@ stub -arch=win32 ??_V@YAXPAXHPBDH@Z
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ stub -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z
@ stub -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z

View File

@ -396,8 +396,8 @@
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete
@ stub -arch=win32 ??_V@YAXPAXHPBDH@Z
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ stub -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z
@ stub -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ
@ stub -arch=win32 ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z
@ stub -arch=win64 ?CaptureCallstack@platform@details@Concurrency@@YA_KPEAPEAX_K1@Z

View File

@ -393,8 +393,8 @@
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) msvcr120.??_V@YAXPEAX@Z
@ stub -arch=win32 ??_V@YAXPAXHPBDH@Z
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ stub -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z
@ stub -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z
@ stub ?Block@Context@Concurrency@@SAXXZ
@ stub ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z

View File

@ -864,3 +864,12 @@ void msvcrt_destroy_heap(void)
if(sb_heap)
HeapDestroy(sb_heap);
}
/* ?Alloc@Concurrency@@YAPAXI@Z */
/* ?Alloc@Concurrency@@YAPEAX_K@Z */
void * CDECL Concurrency_Alloc(MSVCRT_size_t size)
{
void *p = MSVCRT_malloc(size);
FIXME("(%ld) returning %p\n", size, p);
return p;
}