From: kyuho.jo Date: Thu, 25 May 2017 10:28:14 +0000 (+0900) Subject: Fixed the problem caused by missed symbol name X-Git-Tag: submit/tizen/20170808.015446~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=262f03fb828c54f6d2c70bc4c0bfb1943d1f9499;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Fixed the problem caused by missed symbol name Change-Id: Ie95848a4ce48d44260568fc748286caca9975a38 Signed-off-by: kyuho.jo --- diff --git a/TVHome/TVHome.TizenTV/Sniper.cs b/TVHome/TVHome.TizenTV/Sniper.cs index 22c55f0..461b623 100644 --- a/TVHome/TVHome.TizenTV/Sniper.cs +++ b/TVHome/TVHome.TizenTV/Sniper.cs @@ -263,7 +263,7 @@ namespace CoreApp try { - InterOp.Sniper_init(nativeWindow, callbacks, storagePath, imageWidth, imageHeight); + InterOp.sniper_init(nativeWindow, callbacks, storagePath, imageWidth, imageHeight); } catch (DllNotFoundException e) { @@ -280,7 +280,7 @@ namespace CoreApp { try { - InterOp.Sniper_fini(); + InterOp.sniper_fini(); } catch (DllNotFoundException e) { @@ -298,7 +298,7 @@ namespace CoreApp { try { - InterOp.Sniper_request_update(instanceId); + InterOp.sniper_request_update(instanceId); } catch (DllNotFoundException e) { diff --git a/TVHome/TVHome.TizenTV/SniperInterOp.cs b/TVHome/TVHome.TizenTV/SniperInterOp.cs index 1f88d25..12712b9 100644 --- a/TVHome/TVHome.TizenTV/SniperInterOp.cs +++ b/TVHome/TVHome.TizenTV/SniperInterOp.cs @@ -25,13 +25,13 @@ namespace CoreApp } [DllImport("sniper", CharSet = CharSet.Ansi)] - internal static extern int Sniper_init(IntPtr win, SniperCallback callbacks, string path, int w, int h); + internal static extern int sniper_init(IntPtr win, SniperCallback callbacks, string path, int w, int h); [DllImport("sniper", CharSet = CharSet.Ansi)] - internal static extern int Sniper_request_update(string instanceId); + internal static extern int sniper_request_update(string instanceId); [DllImport("sniper", CharSet = CharSet.Ansi)] - internal static extern int Sniper_fini(); + internal static extern int sniper_fini(); } }