mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-23 08:20:01 +00:00
codecheck
Signed-off-by: zhangmenghan <zhangmenghan@kaihong.com>
This commit is contained in:
parent
d17acb23fd
commit
72bd9ec5d1
@ -16,9 +16,9 @@
|
||||
#include "common.h"
|
||||
#include "javascriptapi.h"
|
||||
|
||||
napi_value jsFunctionsInit(napi_env env, napi_value exports) {
|
||||
napi_property_descriptor desc[] =
|
||||
{
|
||||
napi_value jsFunctionsInit(napi_env env, napi_value exports)
|
||||
{
|
||||
napi_property_descriptor desc[] = {
|
||||
{"testNapiCallFunction", nullptr, testNapiCallFunction, nullptr, nullptr, nullptr, napi_default, nullptr},
|
||||
{"testNapiCreateFunction", nullptr, testNapiCreateFunction, nullptr, nullptr, nullptr, napi_default, nullptr},
|
||||
};
|
||||
|
@ -16,9 +16,9 @@
|
||||
#include "common.h"
|
||||
#include "javascriptapi.h"
|
||||
|
||||
napi_value jsObjectWrapInit(napi_env env, napi_value exports) {
|
||||
napi_property_descriptor desc[] =
|
||||
{
|
||||
napi_value jsObjectWrapInit(napi_env env, napi_value exports)
|
||||
{
|
||||
napi_property_descriptor desc[] = {
|
||||
{"testNapiWrap", nullptr, testNapiWrap, nullptr, nullptr, nullptr, napi_default, nullptr},
|
||||
{"testNapiUnwrap", nullptr, testNapiUnwrap, nullptr, nullptr, nullptr, napi_default, nullptr}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user