[ElmSharp] Marshal bool return valuen in P/Invoke for Elemenatry.Image 03/150903/1
authorKangho Hur <kangho.hur@samsung.com>
Tue, 19 Sep 2017 05:32:30 +0000 (14:32 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Tue, 19 Sep 2017 05:32:30 +0000 (14:32 +0900)
Change-Id: I55d48a025a25eda28f66dbda5d9f23df40de0cfc

src/ElmSharp/Interop/Interop.Elementary.Image.cs

index c49ff92..860e9fd 100644 (file)
@@ -89,12 +89,14 @@ internal static partial class Interop
         internal static extern void elm_image_animated_set(IntPtr obj, bool anim);
 
         [DllImport(Libraries.Elementary)]
+        [return : MarshalAs(UnmanagedType.U1)]
         internal static extern bool elm_image_animated_get(IntPtr obj);
 
         [DllImport(Libraries.Elementary)]
         internal static extern void elm_image_animated_play_set(IntPtr obj, bool play);
 
         [DllImport(Libraries.Elementary)]
+        [return: MarshalAs(UnmanagedType.U1)]
         internal static extern bool elm_image_animated_play_get(IntPtr obj);
 
         [DllImport(Libraries.Elementary)]