11-Dynamic_Unwind: Explicitly declare unwind table callback as CDECL.

This commit is contained in:
Sebastian Lackner 2014-04-04 19:56:20 +02:00
parent 22a1e1ff59
commit 74bd451363

View File

@ -1,4 +1,4 @@
From c9b382af632550740ec72f57a178c16f246d0ca5 Mon Sep 17 00:00:00 2001
From 8e29d9d7826cb1e5749909e4fe388af8dcf4a2f3 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 4 Apr 2014 19:32:33 +0200
Subject: ntdll: Implement dynamic unwind table functions.
@ -21,7 +21,7 @@ index 0dd75a2..7a3c3f1 100644
@ stdcall RtlIntegerToChar(long long long ptr)
@ stdcall RtlIntegerToUnicodeString(long long ptr)
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 57afe16..5ace5a9 100644
index 57afe16..47bdf54 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -56,6 +56,7 @@
@ -50,7 +50,7 @@ index 57afe16..5ace5a9 100644
+ RUNTIME_FUNCTION *table;
+ DWORD table_size;
+
+ PRUNTIME_FUNCTION (*callback)( DWORD pc, PVOID context );
+ PRUNTIME_FUNCTION (CDECL *callback)( DWORD pc, PVOID context );
+ PVOID context;
+};
+