change enum type name

Change-Id: I4097658a6c43b38ee1a8f2826663752582398c10
Signed-off-by: bluhuang <bluhuang@icloud.com>
This commit is contained in:
bluhuang 2024-09-11 22:38:01 +08:00
parent 40e4bd2671
commit a481d10b11

View File

@ -55,23 +55,23 @@ typedef enum Preference_ValueType {
/**
* @brief Null.
*/
TYPE_NULL = 0,
PREFERENCE_TYPE_NULL = 0,
/**
* @brief Int.
*/
TYPE_INT,
PREFERENCE_TYPE_INT,
/**
* @brief boolean.
*/
TYPE_BOOL,
PREFERENCE_TYPE_BOOL,
/**
* @brief String.
*/
TYPE_STRING,
PREFERENCE_TYPE_STRING,
/**
* @brief end butt.
*/
TYPE_BUTT
PREFERENCE_TYPE_BUTT
} Preference_ValueType;
/**
@ -117,7 +117,7 @@ const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_Prefe
*
* @param object Pointer to the target {@Link OH_PreferencesValue} instance.
* @return Returns the value type obtained.
* {@link TYPE_NULL} indicates invalid args are passed in.
* {@link PREFERENCE_TYPE_NULL} indicates invalid args are passed in.
* @see OH_PreferencesValue.
* @since 13
*/