From: Kangho Hur Date: Tue, 19 Sep 2017 05:32:30 +0000 (+0900) Subject: [ElmSharp] Marshal bool return valuen in P/Invoke for Elemenatry.Image X-Git-Tag: preview1-00223~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F150903%2F1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [ElmSharp] Marshal bool return valuen in P/Invoke for Elemenatry.Image Change-Id: I55d48a025a25eda28f66dbda5d9f23df40de0cfc --- diff --git a/src/ElmSharp/Interop/Interop.Elementary.Image.cs b/src/ElmSharp/Interop/Interop.Elementary.Image.cs index c49ff92..860e9fd 100644 --- a/src/ElmSharp/Interop/Interop.Elementary.Image.cs +++ b/src/ElmSharp/Interop/Interop.Elementary.Image.cs @@ -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)]