From: Seungho, Baek Date: Mon, 18 Feb 2019 06:58:56 +0000 (+0900) Subject: Revert "[Tizen] Fix svace issue of LayoutController" X-Git-Tag: accepted/tizen/unified/20190219.154120~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20d681bbcf572e68eb228340596ee057f5f91aad;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Revert "[Tizen] Fix svace issue of LayoutController" This reverts commit f841020772cbbcb452f4a92b42faaa12b3096376. --- diff --git a/dali-csharp-binder/src/layout-controller.cpp b/dali-csharp-binder/src/layout-controller.cpp index 835d6ae..b564c15 100644 --- a/dali-csharp-binder/src/layout-controller.cpp +++ b/dali-csharp-binder/src/layout-controller.cpp @@ -27,7 +27,7 @@ namespace static int gLayoutControllerId = 1; } // unnamed namespace -LayoutController::LayoutController() : handler( NULL ), mId( gLayoutControllerId++ ) +LayoutController::LayoutController() : mId( gLayoutControllerId++ ) { Dali::Adaptor::Get().RegisterProcessor(*this); } @@ -110,7 +110,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_LayoutController(void * jarg1) { } } -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutController_SetCallback( void* jarg1, LayoutController::LayoutControllerProcessCallback callback ) +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LayoutController_SetCallback( void* jarg1, LayoutController::LayoutControllerProcessCallback callback ) { LayoutController* layoutController = (LayoutController *) jarg1; @@ -120,17 +120,15 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutController_SetCallback( void* jarg } } -SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LayoutController_GetId( void* jarg1 ) +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LayoutController_GetId( void* jarg1 ) { LayoutController * layoutController = (LayoutController *)jarg1; - int ret = 0; if( layoutController ) { - ret = layoutController->GetId(); + layoutController->GetId(); } - return ret; } #ifdef __cplusplus } -#endif +#endif \ No newline at end of file