From 8de425b0d6fe829a21ef30acf2dcb5865809eec3 Mon Sep 17 00:00:00 2001 From: zph Date: Fri, 13 Jun 2025 09:41:24 +0800 Subject: [PATCH 1/4] update Signed-off-by: zph --- distributeddatamgr/udmf/include/udmf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributeddatamgr/udmf/include/udmf.h b/distributeddatamgr/udmf/include/udmf.h index 595301e03..8d9cc971f 100644 --- a/distributeddatamgr/udmf/include/udmf.h +++ b/distributeddatamgr/udmf/include/udmf.h @@ -1203,7 +1203,7 @@ OH_UdmfDataLoadInfo* OH_UdmfDataLoadInfo_Create(); * @see OH_UdmfDataLoadInfo * @since 20 */ -void OH_UdmfDataLoadInfo_Destroy(OH_UdmfDataLoadInfo* dataLoadInfo); +void OH_UdmfDataLoadInfo_Destroy(OH_UdmfDataLoadInfo* pThis); /** * @brief Gets the types from the {@OH_UdmfDataLoadInfo}. @@ -1220,7 +1220,7 @@ char** OH_UdmfDataLoadInfo_GetTypes(OH_UdmfDataLoadInfo* dataLoadInfo, unsigned * @brief Sets the data load info to the {@OH_UdmfDataLoadInfo}. * * @param dataLoadInfo Represents a pointer to an instance of {@link OH_UdmfDataLoadInfo}. - * @param types Represents the type of data. + * @param type Represents the type of data. * @see OH_UdmfDataLoadInfo * @since 20 */ -- Gitee From 205ee94029b4c0fe5931ec8d87ae833f68119c33 Mon Sep 17 00:00:00 2001 From: zph Date: Fri, 13 Jun 2025 14:31:21 +0800 Subject: [PATCH 2/4] update Signed-off-by: zph --- distributeddatamgr/udmf/include/udmf.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/distributeddatamgr/udmf/include/udmf.h b/distributeddatamgr/udmf/include/udmf.h index 8d9cc971f..385f124b3 100644 --- a/distributeddatamgr/udmf/include/udmf.h +++ b/distributeddatamgr/udmf/include/udmf.h @@ -1197,13 +1197,14 @@ void OH_UdmfDataLoadParams_SetDataLoadInfo(OH_UdmfDataLoadParams* params, OH_Udm OH_UdmfDataLoadInfo* OH_UdmfDataLoadInfo_Create(); /** - * @brief Destroy a pointer that points to an instance of {@link OH_UdmfDataLoadInfo}. - * - * @param pThis Represents a pointer to an instance of {@link OH_UdmfDataLoadInfo}. + * @brief Destroy the heap memory pointed to by the pointer of {@link OH_UdmfDataLoadInfo}. + * Note that this function cannot be called repeatedly for the same pointer. + * + * @param dataLoadInfo Represents a pointer to an instance of {@link OH_UdmfDataLoadInfo}. * @see OH_UdmfDataLoadInfo * @since 20 */ -void OH_UdmfDataLoadInfo_Destroy(OH_UdmfDataLoadInfo* pThis); +void OH_UdmfDataLoadInfo_Destroy(OH_UdmfDataLoadInfo* dataLoadInfo); /** * @brief Gets the types from the {@OH_UdmfDataLoadInfo}. -- Gitee From 1cb41d1ae8d7b420ef0407dd00f4e9bad91de740 Mon Sep 17 00:00:00 2001 From: zph Date: Fri, 13 Jun 2025 14:41:54 +0800 Subject: [PATCH 3/4] update Signed-off-by: zph --- distributeddatamgr/udmf/include/udmf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distributeddatamgr/udmf/include/udmf.h b/distributeddatamgr/udmf/include/udmf.h index 385f124b3..2eb79f711 100644 --- a/distributeddatamgr/udmf/include/udmf.h +++ b/distributeddatamgr/udmf/include/udmf.h @@ -1199,7 +1199,7 @@ OH_UdmfDataLoadInfo* OH_UdmfDataLoadInfo_Create(); /** * @brief Destroy the heap memory pointed to by the pointer of {@link OH_UdmfDataLoadInfo}. * Note that this function cannot be called repeatedly for the same pointer. - * + * * @param dataLoadInfo Represents a pointer to an instance of {@link OH_UdmfDataLoadInfo}. * @see OH_UdmfDataLoadInfo * @since 20 -- Gitee From 3bf5dd01d37544c021d2cd2774e6097634c91e4e Mon Sep 17 00:00:00 2001 From: zph Date: Fri, 13 Jun 2025 15:07:00 +0800 Subject: [PATCH 4/4] update Signed-off-by: zph --- distributeddatamgr/udmf/include/udmf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distributeddatamgr/udmf/include/udmf.h b/distributeddatamgr/udmf/include/udmf.h index 2eb79f711..73d2508f4 100644 --- a/distributeddatamgr/udmf/include/udmf.h +++ b/distributeddatamgr/udmf/include/udmf.h @@ -861,7 +861,8 @@ int OH_UdmfProperty_SetExtrasStringParam(OH_UdmfProperty* pThis, OH_UdmfOptions* OH_UdmfOptions_Create(); /** - * @brief Destroy a pointer that points to an instance of {@link OH_UdmfOptions}. + * @brief Destroy the heap memory pointed to by the pointer of {@link OH_UdmfOptions}. + * Note that this function cannot be called repeatedly for the same pointer. * * @param pThis Represents a pointer to an instance of {@link OH_UdmfOptions}. * @see OH_UdmfOptions. -- Gitee