From: Muhammad Umar Date: Mon, 18 Jun 2018 19:35:09 +0000 (+0100) Subject: [Tizen] Added delete_LayoutSize API in binder. X-Git-Tag: accepted/tizen/unified/20180620.131551~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd887b25098da474a90e9d497d534f6d1f1aee99;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git [Tizen] Added delete_LayoutSize API in binder. Change-Id: I45a3b20e4880584065664cb9bac9942126851356 --- 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