Fixed the problem caused by missed symbol name
authorkyuho.jo <kyuho.jo@samsung.com>
Thu, 25 May 2017 10:28:14 +0000 (19:28 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:56 +0000 (18:34 +0900)
Change-Id: Ie95848a4ce48d44260568fc748286caca9975a38
Signed-off-by: kyuho.jo <kyuho.jo@samsung.com>
TVHome/TVHome.TizenTV/Sniper.cs
TVHome/TVHome.TizenTV/SniperInterOp.cs

index 22c55f0..461b623 100644 (file)
@@ -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)
             {
index 1f88d25..12712b9 100644 (file)
@@ -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();
     }
 }