Added delete_LayoutSize API in binder. 98/181898/2
authorMuhammad Umar <m.umar@partner.samsung.com>
Mon, 18 Jun 2018 19:35:09 +0000 (20:35 +0100)
committerDavid Steele <david.steele@samsung.com>
Wed, 20 Jun 2018 13:28:13 +0000 (13:28 +0000)
Change-Id: I45a3b20e4880584065664cb9bac9942126851356

dali-csharp-binder/src/layout-size.cpp

index 1c0832d..1f06cfe 100755 (executable)
@@ -438,6 +438,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LayoutSize_height_get(void * jarg1) {
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_LayoutSize(void * jarg1) {
+  Dali::Toolkit::LayoutSize *arg1 = (Dali::Toolkit::LayoutSize *) 0 ;
+
+  arg1 = (Dali::Toolkit::LayoutSize *)jarg1;
+  {
+    try {
+      delete arg1;
+    } catch (std::out_of_range& e) {
+      {
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+      };
+    } catch (std::exception& e) {
+      {
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+      };
+    } catch (...) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+      };
+    }
+  }
+}
+
 #ifdef __cplusplus
 }
 #endif