From 9132265ceb7fb6f6c000fb671bc916ab5e439901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 15 Oct 2020 00:36:24 +0100 Subject: [PATCH] Update Windows.Devices.Spi declaration (#1732) --- src/Windows.Devices.Spi/win_dev_spi_native.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Windows.Devices.Spi/win_dev_spi_native.cpp b/src/Windows.Devices.Spi/win_dev_spi_native.cpp index 9b25588e8d..b1b2fa636d 100644 --- a/src/Windows.Devices.Spi/win_dev_spi_native.cpp +++ b/src/Windows.Devices.Spi/win_dev_spi_native.cpp @@ -5,7 +5,10 @@ #include "win_dev_spi_native.h" -static const CLR_RT_MethodHandler method_lookup[] = { +// clang-format off + +static const CLR_RT_MethodHandler method_lookup[] = +{ NULL, NULL, NULL, @@ -35,7 +38,6 @@ static const CLR_RT_MethodHandler method_lookup[] = { NULL, NULL, NULL, - NULL, Library_win_dev_spi_native_Windows_Devices_Spi_SpiController::GetDeviceSelector___STATIC__STRING, NULL, NULL, @@ -68,4 +70,11 @@ static const CLR_RT_MethodHandler method_lookup[] = { }; const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_Windows_Devices_Spi = - {"Windows.Devices.Spi", 0x9C215530, method_lookup, {100, 1, 4, 2}}; +{ + "Windows.Devices.Spi", + 0x360239F1, + method_lookup, + { 100, 1, 4, 2 } +}; + +// clang-format on