[NDK] fix anmate api

Signed-off-by:lisitaolisitao3@huawei.com

Signed-off-by: lisitao <lisitao3@huawei.com>
Change-Id: I2c14255d6506b9bbcedfe717245be8ad576817db
This commit is contained in:
lisitao 2024-06-19 03:36:21 +00:00
parent 59e8641cf6
commit d1c81c4f3c
3 changed files with 3 additions and 3 deletions

View File

@ -1449,7 +1449,7 @@
},
{
"first_introduced": "12",
"name": "OH_ArkUI_ArkUI_AnimatorOption_Dispose"
"name": "OH_ArkUI_AnimatorOption_Dispose"
},
{
"first_introduced": "12",

View File

@ -256,7 +256,7 @@ int32_t OH_ArkUI_KeyframeAnimateOption_GetIterations(ArkUI_KeyframeAnimateOption
int32_t OH_ArkUI_KeyframeAnimateOption_GetDuration(ArkUI_KeyframeAnimateOption* option, int32_t index);
ArkUI_CurveHandle OH_ArkUI_KeyframeAnimateOption_GetCurve(ArkUI_KeyframeAnimateOption* option, int32_t index);
ArkUI_AnimatorOption* OH_ArkUI_AnimatorOption_Create(int32_t keyframeSize);
void OH_ArkUI_ArkUI_AnimatorOption_Dispose(ArkUI_AnimatorOption* option);
void OH_ArkUI_AnimatorOption_Dispose(ArkUI_AnimatorOption* option);
int32_t OH_ArkUI_AnimatorOption_SetDuration(ArkUI_AnimatorOption* option, int32_t value);
int32_t OH_ArkUI_AnimatorOption_SetDelay(ArkUI_AnimatorOption* option, int32_t value);
int32_t OH_ArkUI_AnimatorOption_SetIterations(ArkUI_AnimatorOption* option, int32_t value);

View File

@ -317,7 +317,7 @@ ArkUI_AnimatorOption* OH_ArkUI_AnimatorOption_Create(int32_t keyframeSize)
return option;
}
void OH_ArkUI_ArkUI_AnimatorOption_Dispose(ArkUI_AnimatorOption* option)
void OH_ArkUI_AnimatorOption_Dispose(ArkUI_AnimatorOption* option)
{
CHECK_NULL_VOID(option);
if (option->expectedFrameRateRange) {