From: Paul Gofman Date: Sat, 30 Jan 2016 01:36:48 +0000 (+0300) Subject: mscoree: Add FixupVTable_Assembly function which takes preloaded assembly headers. X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=5dea748c5b733ac6f8c6e2be609bf9838a86e5b7;p=wine%2Feterwine.git mscoree: Add FixupVTable_Assembly function which takes preloaded assembly headers. Signed-off-by: Paul Gofman Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index c790c441b6..7998da91e7 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -1135,23 +1135,28 @@ static void FixupVTableEntry(HMODULE hmodule, VTableFixup *vtable_fixup) list_add_tail(&dll_fixups, &fixup->entry); } +static void FixupVTable_Assembly(HMODULE hmodule, ASSEMBLY *assembly) +{ + VTableFixup *vtable_fixups; + ULONG vtable_fixup_count, i; + + assembly_get_vtable_fixups(assembly, &vtable_fixups, &vtable_fixup_count); + if (CAN_FIXUP_VTABLE) + for (i=0; i