Remove build warnings 37/186737/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 14 Aug 2018 03:08:02 +0000 (12:08 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 14 Aug 2018 03:08:02 +0000 (12:08 +0900)
Change-Id: I3bfd4fbc704262d66f5f01b285fbd93a88fe84bf

dali-csharp-binder/src/input-method-context.cpp
dali-csharp-binder/src/layout-length.cpp
packaging/dali-csharp-binder.spec

index 43e798b..ddcd31c 100755 (executable)
@@ -460,12 +460,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodContext_CallbackData(v
 }
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_Finalize(void * jarg1) {
-  Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
+  //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+  //Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
 
-  arg1 = (Dali::InputMethodContext *)jarg1;
+  //arg1 = (Dali::InputMethodContext *)jarg1;
   {
     try {
-//      (arg1)->Finalize();
+      //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+      //(arg1)->Finalize();
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
index 3f6666d..8785831 100755 (executable)
@@ -249,11 +249,13 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutLength_LessThan__SWIG_0(vo
 
 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutLength_GreaterThan__SWIG_0(void * jarg1, void * jarg2) {
   unsigned int jresult ;
-  Dali::Toolkit::LayoutLength *arg1 = (Dali::Toolkit::LayoutLength *) 0 ;
+  // Umar:: To do Later///
+  //Dali::Toolkit::LayoutLength *arg1 = (Dali::Toolkit::LayoutLength *) 0 ;
   Dali::Toolkit::LayoutLength *arg2 = 0 ;
   bool result = false;
 
-  arg1 = (Dali::Toolkit::LayoutLength *)jarg1;
+  // Umar:: To do Later///
+  //arg1 = (Dali::Toolkit::LayoutLength *)jarg1;
   arg2 = (Dali::Toolkit::LayoutLength *)jarg2;
   if (!arg2) {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LayoutLength const & type is null", 0);
index c719af2..0c3ad45 100755 (executable)
 
 %bcond_with wayland
 
+#please update nui_internal_version below, if you changed version-check.cpp
+%define nui_internal_version nui503
+
 Name: dali-csharp-binder
 Summary: The DALI Csharp Binder
-Version: 1.3.36
+Version: 1.3.36+%{nui_internal_version}
 Release: 1
 Group: uifw/graphic
 License: Apache-2.0 and BSD-3-Clause and MIT