diff --git a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/jsValuesInit.cpp b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/jsValuesInit.cpp index 7dc95a23..c23548df 100644 --- a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/jsValuesInit.cpp +++ b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/jsValuesInit.cpp @@ -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}, diff --git a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint32.cpp b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint32.cpp index a7698598..762f1c58 100644 --- a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint32.cpp +++ b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint32.cpp @@ -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 // 获取参数数量 diff --git a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint64.cpp b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint64.cpp index 87f7fe84..8e917e64 100644 --- a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint64.cpp +++ b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateint64.cpp @@ -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 // 获取参数数量 diff --git a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateuint32.cpp b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateuint32.cpp index 70aac520..ac719f19 100644 --- a/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateuint32.cpp +++ b/examples/napitutorials/entry/src/main/cpp/javascriptapi/jsvalues/napicreateuint32.cpp @@ -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 // 获取参数数量