Skip to content

Commit 9337371

Browse files
authored
Update declaration for System.Device.Gpio (#2435)
1 parent 3c6c780 commit 9337371

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/System.Device.Gpio/sys_dev_gpio_native.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_System_Device_Gpio =
105105
"System.Device.Gpio",
106106
0x097E7BC5,
107107
method_lookup,
108-
{ 100, 1, 0, 5 }
108+
{ 100, 1, 0, 6 }
109109
};
110110

111111
// clang-format on

src/System.Device.Gpio/sys_dev_gpio_native.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct Library_sys_dev_gpio_native_System_Device_Gpio_GpioController
7575
static const int FIELD_STATIC___syncLock = 2;
7676

7777
static const int FIELD___disposedValue = 1;
78-
static const int FIELD___NumberingScheme_k__BackingField = 2;
78+
static const int FIELD___numberingScheme = 2;
7979

8080
NANOCLR_NATIVE_DECLARE(get_PinCount___I4);
8181
NANOCLR_NATIVE_DECLARE(DisposeNative___VOID);
@@ -101,6 +101,14 @@ struct Library_sys_dev_gpio_native_System_Device_Gpio_GpioPinBundle
101101
//--//
102102
};
103103

104+
struct Library_sys_dev_gpio_native_System_Device_Gpio_PinValuePair
105+
{
106+
static const int FIELD___pinNumber = 1;
107+
static const int FIELD___pinValue = 2;
108+
109+
//--//
110+
};
111+
104112
extern const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_System_Device_Gpio;
105113

106114
#endif // SYS_DEV_GPIO_NATIVE_H

0 commit comments

Comments
 (0)