[Camera] Fix byte mismatch of bool return type
authorHaesu Gwon <haesu.gwon@samsung.com>
Sun, 5 Mar 2017 06:40:27 +0000 (15:40 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Sun, 5 Mar 2017 06:40:27 +0000 (15:40 +0900)
Change-Id: I4fe3be433c012ede45483eff95e01a01945559cf
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
packaging/csapi-multimedia.spec
src/Tizen.Multimedia/Interop/Interop.CameraFeature.cs

index b9163cd..dcfcc5c 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-multimedia
 Summary:    Tizen Multimedia API for C#
-Version:    1.0.36
+Version:    1.0.37
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
index 4b9a290..29f7059 100755 (executable)
@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Runtime.InteropServices;
 using Tizen.Multimedia;
 
@@ -59,27 +59,35 @@ internal static partial class Interop
 
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_is_supported_continuous_capture")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool ContinuousCaptureSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_is_supported_face_detection")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool FaceDetectionSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_is_supported_zero_shutter_lag")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool ZeroShutterLagSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_is_supported_media_packet_preview_cb")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool MediaPacketPreviewCallbackSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_attr_is_supported_hdr_capture")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool HdrCaptureSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_attr_is_supported_anti_shake")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool AntiShakeSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_attr_is_supported_video_stabilization")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool VideoStabilizationSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_attr_is_supported_auto_contrast")]
+        [return: MarshalAs(UnmanagedType.I1)]
         internal static extern bool AutoContrastSupport(IntPtr handle);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_foreach_supported_preview_resolution")]