[Tizen] Update PropertyMap SetValue APIs accepted/tizen_unified_toolchain accepted/tizen/unified/20240307.075439 accepted/tizen/unified/toolchain/20240311.065655 accepted/tizen/unified/x/20240308.033641
authorJiyun Yang <ji.yang@samsung.com>
Wed, 6 Mar 2024 06:04:36 +0000 (15:04 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Wed, 6 Mar 2024 06:06:06 +0000 (15:06 +0900)
This reverts commit b374e561c41b064e3711b787b3a938f0e50d120b.

Change-Id: I4d83045dc91b28467b0f4a94ed9d14efdc7288f3

dali-csharp-binder/common/dali-wrap.cpp

index 99d7f4d..920b5c4 100644 (file)
@@ -6939,11 +6939,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_IntValue
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
     return;
   }
-  Dali::Property::Index arg3 = (Dali::Property::Index)jarg3;
 
   {
     try {
-      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(arg3);
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)((int32_t)jarg3);
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7045,7 +7044,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_Rect(voi
 
   {
     try {
-      arg1->operator[](std::string(jarg2)) = (Dali::Property::Value const &)(Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6));
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6));
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7074,12 +7073,10 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Property_Value_Get__SWIG_15(void * jarg1
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_IntValue(void* jarg1, int jarg2, int jarg3) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
-  Dali::Property::Index arg3 = (Dali::Property::Index)jarg3;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)((int32_t)jarg3);
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7088,12 +7085,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_IntValue(vo
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_BoolValue(void* jarg1, int jarg2, bool jarg3) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
-  bool arg3 = (bool)jarg3;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(jarg3);
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7102,26 +7097,22 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_BoolValue(v
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_FloatValue(void* jarg1, int jarg2, float jarg3) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
-  float arg3 = (float)jarg3;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(jarg3);
     } CALL_CATCH_EXCEPTION();
   }
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_StringValue(void* jarg1, int jarg2, char* jarg3) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_StringValue(void* jarg1, int jarg2, const char* jarg3) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
-  char *arg3 = (char *)jarg3;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(jarg3);
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7130,11 +7121,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_StringValue
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector2(void* jarg1, int jarg2, float jarg3, float jarg4) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4));
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4));
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7143,11 +7133,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector2(voi
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector4(void* jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6));
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6));
     } CALL_CATCH_EXCEPTION();
   }
 }
@@ -7156,14 +7145,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector4(voi
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Rect(void* jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6) {
 
   Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
-  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
-  Dali::Rect< int > *arg3 = 0 ;
-
-  arg3 = (Dali::Rect< int > *)new Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6);
 
   {
     try {
-      arg1->operator[](arg2) = (Dali::Property::Value const &)(*arg3);
+      arg1->operator[]((Dali::Property::Index)jarg2) = (Dali::Property::Value const &)(Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6));
     } CALL_CATCH_EXCEPTION();
   }
 }