From 7af8a043bb17670907064d3ddc02dddaeb429ff9 Mon Sep 17 00:00:00 2001 From: Woochan Lee Date: Mon, 13 Jan 2025 13:13:20 +0900 Subject: [PATCH] Revert "Remove unused SWIGEXPORTs" This reverts commit 80406ff039207e99d51bd2af241171120e7a9168. --- .../dali-core/dali-core-wrap.cpp | 281 ++++++++++++++++++ dali-csharp-binder/dali-core/vector-wrap.cpp | 208 +++++++++++++ .../dali-toolkit/slide-transition-wrap.cpp | 28 ++ 3 files changed, 517 insertions(+) diff --git a/dali-csharp-binder/dali-core/dali-core-wrap.cpp b/dali-csharp-binder/dali-core/dali-core-wrap.cpp index 91d993c4..407c2cc5 100644 --- a/dali-csharp-binder/dali-core/dali-core-wrap.cpp +++ b/dali-csharp-binder/dali-core/dali-core-wrap.cpp @@ -76,6 +76,287 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WEIGHT_get() { return jresult; } + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_ParentOriginTop_get() { + float jresult ; + float result; + + result = (float)(float)Dali::ParentOrigin::TOP; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_ParentOriginBottom_get() { + float jresult ; + float result; + + result = (float)(float)Dali::ParentOrigin::BOTTOM; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_ParentOriginLeft_get() { + float jresult ; + float result; + + result = (float)(float)Dali::ParentOrigin::LEFT; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_ParentOriginRight_get() { + float jresult ; + float result; + + result = (float)(float)Dali::ParentOrigin::RIGHT; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_ParentOriginMiddle_get() { + float jresult ; + float result; + + result = (float)(float)Dali::ParentOrigin::MIDDLE; + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginTopLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::TOP_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginTopCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::TOP_CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginTopRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::TOP_RIGHT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginCenterLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::CENTER_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginCenterRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::CENTER_RIGHT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginBottomLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::BOTTOM_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginBottomCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::BOTTOM_CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ParentOriginBottomRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::ParentOrigin::BOTTOM_RIGHT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_AnchorPointTop_get() { + float jresult ; + float result; + + result = (float)(float)Dali::AnchorPoint::TOP; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_AnchorPointBottom_get() { + float jresult ; + float result; + + result = (float)(float)Dali::AnchorPoint::BOTTOM; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_AnchorPointLeft_get() { + float jresult ; + float result; + + result = (float)(float)Dali::AnchorPoint::LEFT; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_AnchorPointRight_get() { + float jresult ; + float result; + + result = (float)(float)Dali::AnchorPoint::RIGHT; + jresult = result; + return jresult; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_Dali_AnchorPointMiddle_get() { + float jresult ; + float result; + + result = (float)(float)Dali::AnchorPoint::MIDDLE; + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointTopLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::TOP_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointTopCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::TOP_CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointTopRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::TOP_RIGHT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointCenterLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::CENTER_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointCenterRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::CENTER_RIGHT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointBottomLeft_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::BOTTOM_LEFT; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointBottomCenter_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::BOTTOM_CENTER; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AnchorPointBottomRight_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::AnchorPoint::BOTTOM_RIGHT; + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ALICE_BLUE_get() { void * jresult; Dali::Vector4 *result = 0 ; diff --git a/dali-csharp-binder/dali-core/vector-wrap.cpp b/dali-csharp-binder/dali-core/vector-wrap.cpp index ec8090ac..cb3d4d6e 100644 --- a/dali-csharp-binder/dali-core/vector-wrap.cpp +++ b/dali-csharp-binder/dali-core/vector-wrap.cpp @@ -129,6 +129,72 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Vector2__SWIG_4(void * jarg1) { } +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_ONE_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::ONE; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_XAXIS_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::XAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_YAXIS_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::YAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_NEGATIVE_XAXIS_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::NEGATIVE_XAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_NEGATIVE_YAXIS_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::NEGATIVE_YAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_ZERO_get() { + void * jresult ; + Dali::Vector2 *result = 0 ; + + result = (Dali::Vector2 *)&Dali::Vector2::ZERO; + jresult = (void *)result; + return jresult; +} + + + + + + + + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector2_Add(void * jarg1, void * jarg2) { void * jresult ; Dali::Vector2 *arg1 = (Dali::Vector2 *) 0 ; @@ -854,6 +920,92 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Vector3__SWIG_4(void * jarg1) { } +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_ONE_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::ONE; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_XAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::XAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_YAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::YAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_ZAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::ZAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_NEGATIVE_XAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::NEGATIVE_XAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_NEGATIVE_YAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::NEGATIVE_YAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_NEGATIVE_ZAXIS_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::NEGATIVE_ZAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_ZERO_get() { + void * jresult ; + Dali::Vector3 *result = 0 ; + + result = (Dali::Vector3 *)&Dali::Vector3::ZERO; + jresult = (void *)result; + return jresult; +} + + + + + + + + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector3_Add(void * jarg1, void * jarg2) { void * jresult ; Dali::Vector3 *arg1 = (Dali::Vector3 *) 0 ; @@ -1795,6 +1947,62 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Vector4__SWIG_4(void * jarg1) { } +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_ONE_get() { + void * jresult ; + Dali::Vector4 *result = 0 ; + + result = (Dali::Vector4 *)&Dali::Vector4::ONE; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_XAXIS_get() { + void * jresult ; + Dali::Vector4 *result = 0 ; + + result = (Dali::Vector4 *)&Dali::Vector4::XAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_YAXIS_get() { + void * jresult ; + Dali::Vector4 *result = 0 ; + + result = (Dali::Vector4 *)&Dali::Vector4::YAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_ZAXIS_get() { + void * jresult ; + Dali::Vector4 *result = 0 ; + + result = (Dali::Vector4 *)&Dali::Vector4::ZAXIS; + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_ZERO_get() { + void * jresult ; + Dali::Vector4 *result = 0 ; + + result = (Dali::Vector4 *)&Dali::Vector4::ZERO; + jresult = (void *)result; + return jresult; +} + + + + + + + + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Vector4_Add(void * jarg1, void * jarg2) { void * jresult ; Dali::Vector4 *arg1 = (Dali::Vector4 *) 0 ; diff --git a/dali-csharp-binder/dali-toolkit/slide-transition-wrap.cpp b/dali-csharp-binder/dali-toolkit/slide-transition-wrap.cpp index 34835504..80363a06 100755 --- a/dali-csharp-binder/dali-toolkit/slide-transition-wrap.cpp +++ b/dali-csharp-binder/dali-toolkit/slide-transition-wrap.cpp @@ -178,6 +178,34 @@ extern "C" return jresult; } + SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_SlideTransitionDirectionTop_get() + { + Dali::Vector2 *result = (Dali::Vector2 *)&Dali::Toolkit::SlideTransitionDirection::TOP; + + return (void *)result; + } + + SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_SlideTransitionDirectionBottom_get() + { + Dali::Vector2 *result = (Dali::Vector2 *)&Dali::Toolkit::SlideTransitionDirection::BOTTOM; + + return (void *)result; + } + + SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_SlideTransitionDirectionRight_get() + { + Dali::Vector2 *result = (Dali::Vector2 *)&Dali::Toolkit::SlideTransitionDirection::RIGHT; + + return (void *)result; + } + + SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_SlideTransitionDirectionLeft_get() + { + Dali::Vector2 *result = (Dali::Vector2 *)&Dali::Toolkit::SlideTransitionDirection::LEFT; + + return (void *)result; + } + #ifdef __cplusplus } #endif -- 2.34.1