From: Seoyeon Kim Date: Tue, 1 Aug 2023 10:06:08 +0000 (+0900) Subject: Fix TCT fail X-Git-Tag: dali_2.2.38~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e1add9da4fa7e5254ca5c8da7c16a050e82aed1;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Fix TCT fail - The binder, `CSharp_Dali_new_CustomAlgorithmInterface`, was positioned incorrectly. - Move the binding to the right position. Change-Id: Id29e09938619d181be9e8b454c54ce8545eb709b Signed-off-by: Seoyeon Kim --- diff --git a/dali-csharp-binder/common/dali-wrap.cpp b/dali-csharp-binder/common/dali-wrap.cpp index 7f604cc..2a28a86 100644 --- a/dali-csharp-binder/common/dali-wrap.cpp +++ b/dali-csharp-binder/common/dali-wrap.cpp @@ -1945,22 +1945,6 @@ SwigDirector_CustomAlgorithmInterface::~SwigDirector_CustomAlgorithmInterface() } - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_CustomAlgorithmInterface() { - void * jresult ; - Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *result = 0 ; - - { - try { - result = (Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *)new SwigDirector_CustomAlgorithmInterface(); - } CALL_CATCH_EXCEPTION(0); - } - - jresult = (void *)result; - return jresult; -} - - Dali::Actor SwigDirector_CustomAlgorithmInterface::GetNextFocusableActor(Dali::Actor current, Dali::Actor proposed, Dali::Toolkit::Control::KeyboardFocus::Direction direction, const std::string& deviceName) { Dali::Actor c_result; @@ -25020,6 +25004,21 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_CustomAlgorithmInterface_director_connec } +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_CustomAlgorithmInterface() { + void * jresult ; + Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *result = 0 ; + + { + try { + result = (Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *)new SwigDirector_CustomAlgorithmInterface(); + } CALL_CATCH_EXCEPTION(0); + } + + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetImpl_director_connect(void *objarg, SwigDirector_WidgetImpl::SWIG_Callback0_t callback0, SwigDirector_WidgetImpl::SWIG_Callback1_t callback1, SwigDirector_WidgetImpl::SWIG_Callback2_t callback2, SwigDirector_WidgetImpl::SWIG_Callback3_t callback3, SwigDirector_WidgetImpl::SWIG_Callback4_t callback4, SwigDirector_WidgetImpl::SWIG_Callback5_t callback5, SwigDirector_WidgetImpl::SWIG_Callback6_t callback6, SwigDirector_WidgetImpl::SWIG_Callback7_t callback7) { SwigDirector_WidgetImpl *director = static_cast(objarg); if (director) {