Add Sequential StructLayout for remove warning 22/149522/1
authorpius.lee <pius.lee@samsung.com>
Tue, 12 Sep 2017 10:49:08 +0000 (19:49 +0900)
committerpius.lee <pius.lee@samsung.com>
Tue, 12 Sep 2017 10:49:08 +0000 (19:49 +0900)
Add Sequential StructLayout to Eext_Rotary_Event_Info
for clear definition and remove warning

Change-Id: I635e0890c89f81a6f4e9a18f152cc61bdad9d695

src/ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs

index 619077df0fbbb34383e3ff91d95250971ddb607a..aa004b184bba8c9e7188c4e8f03cf455f6356f98 100644 (file)
@@ -34,6 +34,7 @@ internal static partial class Interop
             CounterClockwise
         }
 
+        [StructLayout(LayoutKind.Sequential)]
         internal struct Eext_Rotary_Event_Info
         {
             public Eext_Rotary_Event_Direction Direction;