mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 08:51:29 +00:00
!1432 Preferences: change enum name
Merge pull request !1432 from bluhuang/value
This commit is contained in:
commit
4f793133bc
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user