-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
When was napi_detach_arraybuffer added? #33001
Copy link
Copy link
Closed
Labels
node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.release-agendaIssues and PRs to discuss during the meetings of the Release team.Issues and PRs to discuss during the meetings of the Release team.
Metadata
Metadata
Assignees
Labels
node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.release-agendaIssues and PRs to discuss during the meetings of the Release team.Issues and PRs to discuss during the meetings of the Release team.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.