Signed-off-by: huruitao <huruitao@kaihong.com>
This commit is contained in:
huruitao 2024-04-11 13:39:40 +08:00
parent 3c079e18ed
commit 6a172e2962
4 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
#include "common.h"
#include "javascriptapi.h"
napi_value jsValuesInit(napi_env env, napi_value exports)
napi_value jsValuesInit(napi_env env, napi_value exports)
{
napi_property_descriptor desc[] = {
{"testNapiCreateInt32", nullptr, testNapiCreateInt32, nullptr, nullptr, nullptr, napi_default, nullptr},

View File

@ -18,7 +18,7 @@
static const char *TAG = "[javascriptapi_values";
napi_value testNapiCreateInt32(napi_env env, napi_callback_info info)
napi_value testNapiCreateInt32(napi_env env, napi_callback_info info)
{
// pages/javascript/jsvalues/napicreateint32
// 获取参数数量

View File

@ -18,7 +18,7 @@
static const char *TAG = "[javascriptapi_values";
napi_value testNapiCreateInt64(napi_env env, napi_callback_info info)
napi_value testNapiCreateInt64(napi_env env, napi_callback_info info)
{
// pages/javascript/jsvalues/napicreateint32
// 获取参数数量

View File

@ -19,7 +19,7 @@
static const char *TAG = "[javascriptapi_values";
napi_value testNapiCreateUInt32(napi_env env, napi_callback_info info)
napi_value testNapiCreateUInt32(napi_env env, napi_callback_info info)
{
// pages/javascript/jsvalues/napicreateuint32
// 获取参数数量