diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-08-23 09:16:43 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 09:16:43 +0530 |
commit | e34260c5b05f2a93f695d807b7cb54a50605885e (patch) | |
tree | 3dac23f50bcc9bc86e85497e707a0a5c07b73df7 /ext/ffi/00_ffi.js | |
parent | d0c54777311d2cc30b824f397b7541dca80875fa (diff) |
BREAKING(ext/ffi): specialized `buffer` type (#15518)
Diffstat (limited to 'ext/ffi/00_ffi.js')
-rw-r--r-- | ext/ffi/00_ffi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi/00_ffi.js b/ext/ffi/00_ffi.js index ca9cb3474..6957b9418 100644 --- a/ext/ffi/00_ffi.js +++ b/ext/ffi/00_ffi.js @@ -216,7 +216,7 @@ } function isPointerType(type) { - return type === "pointer" || + return type === "buffer" || type === "pointer" || typeof type === "object" && type !== null && "function" in type; } |