未验证 提交 82359222 编写于 作者: 黄开兴 提交者: Gitee

change to const.

Signed-off-by: N黄开兴 <huangkaixing@huawei.com>
上级 f43217dc
...@@ -57,7 +57,7 @@ napi_value ImageReceiverNDKTest::Init(napi_env env, napi_value exports) ...@@ -57,7 +57,7 @@ napi_value ImageReceiverNDKTest::Init(napi_env env, napi_value exports)
napi_define_properties(env, exports, sizeof(props) / sizeof(props[0]), props); napi_define_properties(env, exports, sizeof(props) / sizeof(props[0]), props);
return exports; return exports;
} }
static bool CheckArgs(size_t count, napi_value* argValues, size_t exceptCount) static bool CheckArgs(size_t count, const napi_value* argValues, size_t exceptCount)
{ {
if (count != exceptCount) { if (count != exceptCount) {
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册