From e47e3b2eef9a1cf260e59a237c34f187b63ce322 Mon Sep 17 00:00:00 2001 From: zzhengxiang <2646125453@qq.com> Date: Mon, 1 Sep 2025 16:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=80=BC=E6=8F=8F=E8=BF=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zzhengxiang <2646125453@qq.com> --- interface/kits/jsvm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/kits/jsvm.h b/interface/kits/jsvm.h index 1547ca3..e8b075f 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, -- Gitee