[PATCH 3/5] msvcr110: Add _Cancellation_beacon::_Cancellation_beacon_dtor stub.

Torge Matthies tmatthies at codeweavers.com
Tue Jul 12 15:49:23 CDT 2022


Signed-off-by: Torge Matthies <tmatthies at codeweavers.com>
---
 dlls/msvcr110/msvcr110.spec         | 2 +-
 dlls/msvcr120/msvcr120.spec         | 2 +-
 dlls/msvcr120_app/msvcr120_app.spec | 2 +-
 dlls/msvcrt/concurrency.c           | 7 +++++++
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec
index a1da7d8eb0e..92704561c23 100644
--- a/dlls/msvcr110/msvcr110.spec
+++ b/dlls/msvcr110/msvcr110.spec
@@ -277,7 +277,7 @@
 @ stub -arch=win64 ??1_CancellationTokenState at details@Concurrency@@UEAA at XZ
 @ stub -arch=arm ??1_Cancellation_beacon at details@Concurrency@@QAA at XZ
 @ stub -arch=i386 ??1_Cancellation_beacon at details@Concurrency@@QAE at XZ
-@ stub -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ
+@ cdecl -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ(ptr) _Cancellation_beacon_dtor
 @ cdecl -arch=arm ??1_Condition_variable at details@Concurrency@@QAA at XZ(ptr) _Condition_variable_dtor
 @ thiscall -arch=i386 ??1_Condition_variable at details@Concurrency@@QAE at XZ(ptr) _Condition_variable_dtor
 @ cdecl -arch=win64 ??1_Condition_variable at details@Concurrency@@QEAA at XZ(ptr) _Condition_variable_dtor
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index a95a254bc7e..e880bd170f6 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -271,7 +271,7 @@
 @ cdecl -arch=win64 ??1SchedulerPolicy at Concurrency@@QEAA at XZ(ptr) SchedulerPolicy_dtor
 @ stub -arch=arm ??1_Cancellation_beacon at details@Concurrency@@QAA at XZ
 @ stub -arch=i386 ??1_Cancellation_beacon at details@Concurrency@@QAE at XZ
-@ stub -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ
+@ cdecl -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ(ptr) _Cancellation_beacon_dtor
 @ cdecl -arch=arm ??1_Condition_variable at details@Concurrency@@QAA at XZ(ptr) _Condition_variable_dtor
 @ thiscall -arch=i386 ??1_Condition_variable at details@Concurrency@@QAE at XZ(ptr) _Condition_variable_dtor
 @ cdecl -arch=win64 ??1_Condition_variable at details@Concurrency@@QEAA at XZ(ptr) _Condition_variable_dtor
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index c2ce2b11811..3aa4b51d2a9 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -269,7 +269,7 @@
 @ cdecl -arch=win64 ??1SchedulerPolicy at Concurrency@@QEAA at XZ(ptr) msvcr120.??1SchedulerPolicy at Concurrency@@QEAA at XZ
 @ stub -arch=arm ??1_Cancellation_beacon at details@Concurrency@@QAA at XZ
 @ stub -arch=i386 ??1_Cancellation_beacon at details@Concurrency@@QAE at XZ
-@ stub -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ
+@ cdecl -arch=win64 ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ(ptr) msvcr120.??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ
 @ cdecl -arch=arm ??1_Condition_variable at details@Concurrency@@QAA at XZ(ptr) msvcr120.??1_Condition_variable at details@Concurrency@@QAA at XZ
 @ thiscall -arch=i386 ??1_Condition_variable at details@Concurrency@@QAE at XZ(ptr) msvcr120.??1_Condition_variable at details@Concurrency@@QAE at XZ
 @ cdecl -arch=win64 ??1_Condition_variable at details@Concurrency@@QEAA at XZ(ptr) msvcr120.??1_Condition_variable at details@Concurrency@@QEAA at XZ
diff --git a/dlls/msvcrt/concurrency.c b/dlls/msvcrt/concurrency.c
index 5fd8b8547dd..ef97950f416 100644
--- a/dlls/msvcrt/concurrency.c
+++ b/dlls/msvcrt/concurrency.c
@@ -2414,6 +2414,13 @@ _Cancellation_beacon* __thiscall _Cancellation_beacon_ctor(_Cancellation_beacon
     return this;
 }
 
+/* ??1_Cancellation_beacon at details@Concurrency@@QEAA at XZ */
+DEFINE_THISCALL_WRAPPER(_Cancellation_beacon_dtor, 4)
+void __thiscall _Cancellation_beacon_dtor(_Cancellation_beacon *this)
+{
+    FIXME("(%p): stub!\n", this);
+}
+
 /* ??0_Condition_variable at details@Concurrency@@QAE at XZ */
 /* ??0_Condition_variable at details@Concurrency@@QEAA at XZ */
 DEFINE_THISCALL_WRAPPER(_Condition_variable_ctor, 4)
-- 
2.37.0




More information about the wine-devel mailing list