Added binding for Adaptor::RenderOnce 91/148091/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 6 Sep 2017 18:20:09 +0000 (19:20 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 6 Sep 2017 18:20:13 +0000 (19:20 +0100)
Change-Id: Idbb30c3b6d0f90b40651793ca090f8564feafec4

dali-csharp-binder/src/window.cpp

index a8c246f..699d8d4 100755 (executable)
@@ -2156,6 +2156,25 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedKeyEvent(void * jarg1) {
     }
   }
 }
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
+  try {
+    Dali::Adaptor::Get().RenderOnce();
+  } 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