We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33787e7 commit 9790a61Copy full SHA for 9790a61
1 file changed
lib/ffi.js
@@ -37,7 +37,7 @@ const callBufferDV = new DataView(callBuffer);
37
38
const libCache = {};
39
40
-const POINTER_SIZE = sizes['char *'];
+const POINTER_SIZE = sizes['char*'];
41
const NULL = Symbol('null');
42
43
function isSigned(type) {
@@ -229,7 +229,7 @@ function getBufferPointer(buf) {
229
230
function sizeof(typ) {
231
if (sizes[typ]) return sizes[typ];
232
- if (typ.includes('*')) return sizes['char *'];
+ if (typ.includes('*')) return sizes['char*'];
233
}
234
235
module.exports = {
0 commit comments