From 663258d085fc44d7d6dca389ef78b2d876eb390e Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Thu, 6 Oct 2022 17:09:28 +0900 Subject: [PATCH] Remove Dali::Any container accessor Let we make Dali::Any's member value as private. So, let we don't allow to make custom AnyContainerImpl + change AnyContainerImpl member values. Change-Id: I62b56cf156b5d2cb2040f74bef892c2e08e0de6d Signed-off-by: Eunki, Hong --- dali-csharp-binder/src/dali-wrap.cpp | 132 ----------------------------------- 1 file changed, 132 deletions(-) diff --git a/dali-csharp-binder/src/dali-wrap.cpp b/dali-csharp-binder/src/dali-wrap.cpp index 2cb7e03..946625d 100755 --- a/dali-csharp-binder/src/dali-wrap.cpp +++ b/dali-csharp-binder/src/dali-wrap.cpp @@ -3051,138 +3051,6 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Any_Empty(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Any_AnyContainerBase(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - std::type_info *arg1 = 0 ; - Dali::Any::CloneFunc arg2 = (Dali::Any::CloneFunc) 0 ; - Dali::Any::DeleteFunc arg3 = (Dali::Any::DeleteFunc) 0 ; - Dali::Any::AnyContainerBase *result = 0 ; - - arg1 = (std::type_info *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::type_info const & type is null", 0); - return 0; - } - arg2 = (Dali::Any::CloneFunc)jarg2; - arg3 = (Dali::Any::DeleteFunc)jarg3; - { - try { - result = (Dali::Any::AnyContainerBase *)new Dali::Any::AnyContainerBase((std::type_info const &)*arg1,arg2,arg3); - } CALL_CATCH_EXCEPTION(0); - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_GetType(void * jarg1) { - void * jresult ; - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - std::type_info *result = 0 ; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - { - try { - result = (std::type_info *) &((Dali::Any::AnyContainerBase const *)arg1)->GetType(); - } CALL_CATCH_EXCEPTION(0); - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_mType_get(void * jarg1) { - void * jresult ; - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - ::std::type_info *result = 0 ; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - result = (::std::type_info *) &(::std::type_info const &) ((arg1)->mType); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_mCloneFunc_set(void * jarg1, void * jarg2) { - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - Dali::Any::CloneFunc arg2 = (Dali::Any::CloneFunc) 0 ; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - arg2 = (Dali::Any::CloneFunc)jarg2; - if (arg1) (arg1)->mCloneFunc = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_mCloneFunc_get(void * jarg1) { - void * jresult ; - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - Dali::Any::CloneFunc result; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - result = (Dali::Any::CloneFunc) ((arg1)->mCloneFunc); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_mDeleteFunc_set(void * jarg1, void * jarg2) { - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - Dali::Any::DeleteFunc arg2 = (Dali::Any::DeleteFunc) 0 ; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - arg2 = (Dali::Any::DeleteFunc)jarg2; - if (arg1) (arg1)->mDeleteFunc = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Any_AnyContainerBase_mDeleteFunc_get(void * jarg1) { - void * jresult ; - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - Dali::Any::DeleteFunc result; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - result = (Dali::Any::DeleteFunc) ((arg1)->mDeleteFunc); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Any_AnyContainerBase(void * jarg1) { - Dali::Any::AnyContainerBase *arg1 = (Dali::Any::AnyContainerBase *) 0 ; - - arg1 = (Dali::Any::AnyContainerBase *)jarg1; - { - try { - delete arg1; - } CALL_CATCH_EXCEPTION(); - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Any_mContainer_set(void * jarg1, void * jarg2) { - Dali::Any *arg1 = (Dali::Any *) 0 ; - Dali::Any::AnyContainerBase *arg2 = (Dali::Any::AnyContainerBase *) 0 ; - - arg1 = (Dali::Any *)jarg1; - arg2 = (Dali::Any::AnyContainerBase *)jarg2; - if (arg1) (arg1)->mContainer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Any_mContainer_get(void * jarg1) { - void * jresult ; - Dali::Any *arg1 = (Dali::Any *) 0 ; - Dali::Any::AnyContainerBase *result = 0 ; - - arg1 = (Dali::Any *)jarg1; - result = (Dali::Any::AnyContainerBase *) ((arg1)->mContainer); - jresult = (void *)result; - return jresult; -} - SWIGEXPORT void SWIGSTDCALL CSharp_Dali_DaliAssertMessage(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; -- 2.7.4