summaryrefslogtreecommitdiff
path: root/ext/ffi/00_ffi.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffi/00_ffi.js')
-rw-r--r--ext/ffi/00_ffi.js2
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;
}