Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update I2C assembly declaration #1604

Merged
merged 1 commit into from
Apr 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Windows.Devices.I2c/win_dev_i2c_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static const CLR_RT_MethodHandler method_lookup[] =
const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_Windows_Devices_I2c =
{
"Windows.Devices.I2c",
0x754E3590,
0x79EDBF71,
method_lookup,
{ 100, 2, 0, 2 }
};
19 changes: 8 additions & 11 deletions src/Windows.Devices.I2c/win_dev_i2c_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ struct Library_win_dev_i2c_native_Windows_Devices_I2c_I2cConnectionSettings
static const int FIELD___busSpeed = 2;
static const int FIELD___sharingMode = 3;


//--//

};
Expand All @@ -72,6 +71,14 @@ struct Library_win_dev_i2c_native_Windows_Devices_I2c_I2cControllerManager
static const int FIELD_STATIC___syncLock = 0;
static const int FIELD_STATIC__s_controllersCollection = 1;

//--//

};

struct Library_win_dev_i2c_native_Windows_Devices_I2c_I2cTransferResult
{
static const int FIELD___bytesTransferred = 1;
static const int FIELD___status = 2;

//--//

Expand All @@ -92,16 +99,6 @@ struct Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice

};

struct Library_win_dev_i2c_native_Windows_Devices_I2c_I2cTransferResult
{
static const int FIELD___bytesTransferred = 1;
static const int FIELD___status = 2;


//--//

};

extern const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_Windows_Devices_I2c;

#endif //_WIN_DEV_I2C_NATIVE_H_