mirror of
https://github.com/openharmony/js_api_module.git
synced 2026-07-24 14:05:38 -04:00
modify TS container compilation rule change
Signed-off-by: wangyong <wangyong237@huawei.com>
This commit is contained in:
@@ -29,7 +29,7 @@ static napi_value StructInit(napi_env env, napi_value exports)
|
||||
}
|
||||
|
||||
extern "C"
|
||||
__attribute__((visibility("default"))) void NAPI_struct_GetJSCode(const char **buf, int *bufLen)
|
||||
__attribute__((visibility("default"))) void NAPI_util_struct_GetJSCode(const char **buf, int *bufLen)
|
||||
{
|
||||
if (buf != nullptr) {
|
||||
*buf = _binary_js_struct_js_start;
|
||||
@@ -41,7 +41,7 @@ __attribute__((visibility("default"))) void NAPI_struct_GetJSCode(const char **b
|
||||
}
|
||||
|
||||
extern "C"
|
||||
__attribute__((visibility("default"))) void NAPI_struct_GetABCCode(const char** buf, int* buflen)
|
||||
__attribute__((visibility("default"))) void NAPI_util_struct_GetABCCode(const char** buf, int* buflen)
|
||||
{
|
||||
if (buf != nullptr) {
|
||||
*buf = _binary_struct_abc_start;
|
||||
|
||||
Reference in New Issue
Block a user