| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -352,7 +352,7 @@ napi_create_reference(napi_env env, | |||
| 352 | 352 | ||
| 353 | 353 | // Deletes a reference. The referenced value is released, and may | |
| 354 | 354 | // be GC'd unless there are other references to it. | |
| 355 | - NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(napi_env env, | ||
| 355 | + NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env, | ||
| 356 | 356 | napi_ref ref); | |
| 357 | 357 | ||
| 358 | 358 | // Increments the reference count, optionally returning the resulting count. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2773,7 +2773,8 @@ napi_status NAPI_CDECL napi_create_reference(napi_env env, | |||
| 2773 | 2773 | // there are other references to it. | |
| 2774 | 2774 | // For a napi_reference returned from `napi_wrap`, this must be called in the | |
| 2775 | 2775 | // finalizer. | |
| 2776 | - napi_status NAPI_CDECL napi_delete_reference(napi_env env, napi_ref ref) { | ||
| 2776 | + napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env, | ||
| 2777 | + napi_ref ref) { | ||
| 2777 | 2778 | // Omit NAPI_PREAMBLE and GET_RETURN_STATUS because V8 calls here cannot throw | |
| 2778 | 2779 | // JS exceptions. | |
| 2779 | 2780 | CHECK_ENV(env); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments