-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
When was napi_detach_arraybuffer added? #33001
Copy link
Copy link
Closed
Labels
node-apiIssues and PRs related to Node-API.Issues and PRs related to Node-API.release-agendaIssues and PRs to discuss during Release team meetings.Issues and PRs to discuss during Release team meetings.
Description
Activity
Metadata
Metadata
Assignees
Labels
node-apiIssues and PRs related to Node-API.Issues and PRs related to Node-API.release-agendaIssues and PRs to discuss during Release team meetings.Issues and PRs to discuss during Release team meetings.
Trying to find which versions of Node that support the new experimental detach_arraybuffer api.
On the 12.x docs linked from the websites it says that the napi_detach_arraybuffer api was added in Node 12 and on the the 14.x docs it says it was added in Node 13.
https://nodejs.org/dist/latest-v12.x/docs/api/n-api.html#n_api_napi_detach_arraybuffer
https://nodejs.org/dist/latest-v14.x/docs/api/n-api.html#n_api_napi_detach_arraybuffer
Side note, I get an implicit declaration warning when trying to use the api as well in both latest 12 and 14 (code works tho), so unsure if that's a mistake I'm doing or not (all the other napi calls works fine and compile without errors).
Can try to investigate that part and open a separate issue.