mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-23 08:20:01 +00:00
format
Signed-off-by: huruitao <huruitao@kaihong.com>
This commit is contained in:
parent
3c079e18ed
commit
6a172e2962
@ -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},
|
||||
|
@ -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
|
||||
// 获取参数数量
|
||||
|
@ -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
|
||||
// 获取参数数量
|
||||
|
@ -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
|
||||
// 获取参数数量
|
||||
|
Loading…
Reference in New Issue
Block a user