From 12c66cf1fc868325d0acbf32e387a74453d6bd27 Mon Sep 17 00:00:00 2001 From: Changjoon Baek Date: Tue, 18 Oct 2016 18:15:39 +0900 Subject: [PATCH] Change Interop function type, RootNamespace 1. Change Interop function type, int -> void to match with CAPI. 2. Change RootNamespace and AssemblyName, Tizen.Tracer -> Tizen It cause that VS recognize the Tracer would namespace. To run TCT, It have to correct. Change-Id: I3087d6295a807c8380f867da6008bfc03296305c Signed-off-by: Changjoon Baek --- src/Tizen.Tracer/Interop/Interop.Tracer.cs | 10 +++++----- src/Tizen.Tracer/Tizen.Tracer.Net45.csproj | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 src/Tizen.Tracer/Tizen.Tracer.Net45.csproj diff --git a/src/Tizen.Tracer/Interop/Interop.Tracer.cs b/src/Tizen.Tracer/Interop/Interop.Tracer.cs index 08ec52c..cd35b1b 100755 --- a/src/Tizen.Tracer/Interop/Interop.Tracer.cs +++ b/src/Tizen.Tracer/Interop/Interop.Tracer.cs @@ -14,18 +14,18 @@ internal static partial class Interop internal static partial class Tracer { [DllImport(Libraries.ttrace, EntryPoint = "trace_begin")] - internal static extern int Begin (String name); + internal static extern void Begin (String name); [DllImport(Libraries.ttrace, EntryPoint = "trace_end")] - internal static extern int End (); + internal static extern void End (); [DllImport(Libraries.ttrace, EntryPoint = "trace_async_begin")] - internal static extern int AsyncBegin (int cookie, String name); + internal static extern void AsyncBegin (int cookie, String name); [DllImport(Libraries.ttrace, EntryPoint = "trace_async_end")] - internal static extern int AsyncEnd (int cookie, String name); + internal static extern void AsyncEnd (int cookie, String name); [DllImport(Libraries.ttrace, EntryPoint = "trace_update_counter")] - internal static extern int TraceValue (int value, String name); + internal static extern void TraceValue (int value, String name); } } diff --git a/src/Tizen.Tracer/Tizen.Tracer.Net45.csproj b/src/Tizen.Tracer/Tizen.Tracer.Net45.csproj old mode 100644 new mode 100755 index 4fd4b7a..149ac17 --- a/src/Tizen.Tracer/Tizen.Tracer.Net45.csproj +++ b/src/Tizen.Tracer/Tizen.Tracer.Net45.csproj @@ -5,8 +5,8 @@ AnyCPU {D6ED1942-9F12-4F29-BB73-60E90B2DC612} Library - Tizen.Tracer - Tizen.Tracer + Tizen + Tizen 512 v4.5 -- 2.7.4