Files
Michael Dawson 2dbeb889f6 node-api: handle no support for external buffers
Refs: https://github.com/electron/electron/issues/35801
Refs: https://github.com/nodejs/abi-stable-node/issues/441

Electron recently dropped support for external
buffers. Provide a way for addon authors to:
- hide the methods to create external buffers so they can
  avoid using them if they want the broadest compatibility.
- call the methods that create external buffers at runtime
  to check if external buffers are supported and either
  use them or not based on the return code.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/45181
Backport-PR-URL: https://github.com/nodejs/node/pull/45616
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
2022-12-07 08:49:39 -05:00
..
2021-05-08 12:44:39 -04:00
2021-05-01 12:25:07 +02:00
2021-09-01 23:15:26 +02:00
2021-09-04 11:45:00 +02:00
2021-09-04 15:14:52 +02:00
2022-01-25 10:48:47 -05:00
2021-09-04 15:14:31 +02:00
2021-06-11 09:30:08 +02:00
2020-10-13 23:45:00 +01:00