From 04a36f659e568147347b3890d67965a8867ac280 Mon Sep 17 00:00:00 2001 From: Muhammad Umar Date: Mon, 18 Jun 2018 20:35:09 +0100 Subject: [PATCH] Added delete_LayoutSize API in binder. Change-Id: I45a3b20e4880584065664cb9bac9942126851356 --- dali-csharp-binder/src/layout-size.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dali-csharp-binder/src/layout-size.cpp b/dali-csharp-binder/src/layout-size.cpp index 1c0832d..1f06cfe 100755 --- a/dali-csharp-binder/src/layout-size.cpp +++ b/dali-csharp-binder/src/layout-size.cpp @@ -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(e.what())); return ; + }; + } catch (std::exception& e) { + { + SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return ; + }; + } catch (...) { + { + SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; + }; + } + } +} + #ifdef __cplusplus } #endif -- 2.7.4