diff --git a/interface/kits/jsvm.h b/interface/kits/jsvm.h index 1547ca35f555cb3b8d2e559fbf876a3c45a03c9a..e8b075fd2e26e8638eb27df774bb71b4da08f296 100644 --- a/interface/kits/jsvm.h +++ b/interface/kits/jsvm.h @@ -1550,7 +1550,7 @@ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueInt64(JSVM_Env env, JSVM_Value value, in * @param bufsize: Size of the destination buffer. When this value is insufficient, the returned string * is truncated and null-terminated. * @param result: Number of bytes copied into the buffer, excluding the null terminator. - * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED. + * @return Returns JSVM_OK if the API succeeded. If a non-string JSVM_Value is passed in JSVM_STRING_EXPECTED. * @since 11 */ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueStringLatin1(JSVM_Env env, @@ -1569,7 +1569,7 @@ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueStringLatin1(JSVM_Env env, * @param bufsize: Size of the destination buffer. When this value is insufficient, the returned * string is truncated and null-terminated. * @param result: Number of bytes copied into the buffer, excluding the null terminator. - * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED. + * @return Returns JSVM_OK if the API succeeded. If a non-string JSVM_Value is passed in JSVM_STRING_EXPECTED. * @since 11 */ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueStringUtf8(JSVM_Env env, @@ -1588,7 +1588,7 @@ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueStringUtf8(JSVM_Env env, * @param bufsize: Size of the destination buffer. When this value is insufficient, * the returned string is truncated and null-terminated. * @param result: Number of 2-byte code units copied into the buffer, excluding the null terminator. - * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED. + * @return Returns JSVM_OK if the API succeeded. If a non-string JSVM_Value is passed in JSVM_STRING_EXPECTED. * @since 11 */ JSVM_EXTERN JSVM_Status OH_JSVM_GetValueStringUtf16(JSVM_Env env,