From e14481d4c3483691e1bf752241588f4df8c7fad5 Mon Sep 17 00:00:00 2001 From: seungho Date: Fri, 27 Aug 2021 21:25:15 +0900 Subject: [PATCH] [NUI] Make TimePeriod.ReleaseSwigCPtr hidden Signed-off-by: seungho --- src/Tizen.NUI/src/public/Common/TimePeriod.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Tizen.NUI/src/public/Common/TimePeriod.cs b/src/Tizen.NUI/src/public/Common/TimePeriod.cs index fd8057f88..4fc1b9be5 100755 --- a/src/Tizen.NUI/src/public/Common/TimePeriod.cs +++ b/src/Tizen.NUI/src/public/Common/TimePeriod.cs @@ -31,11 +31,6 @@ namespace Tizen.NUI { } - protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) - { - Interop.TimePeriod.DeleteTimePeriod(swigCPtr); - } - /// /// The constructor. /// Creates an time period object with the user-defined alpha function. @@ -103,5 +98,12 @@ namespace Tizen.NUI { return (int)(sec * 1000); } + + /// This will not be public opened. + [EditorBrowsable(EditorBrowsableState.Never)] + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) + { + Interop.TimePeriod.DeleteTimePeriod(swigCPtr); + } } } -- 2.34.1