Skip to content

Commit 9790a61

Browse files
committed
fixup! fixup! fixup! fixup! fixup! src,lib: initial ffi implementation
1 parent 33787e7 commit 9790a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ffi.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const callBufferDV = new DataView(callBuffer);
3737

3838
const libCache = {};
3939

40-
const POINTER_SIZE = sizes['char *'];
40+
const POINTER_SIZE = sizes['char*'];
4141
const NULL = Symbol('null');
4242

4343
function isSigned(type) {
@@ -229,7 +229,7 @@ function getBufferPointer(buf) {
229229

230230
function sizeof(typ) {
231231
if (sizes[typ]) return sizes[typ];
232-
if (typ.includes('*')) return sizes['char *'];
232+
if (typ.includes('*')) return sizes['char*'];
233233
}
234234

235235
module.exports = {

0 commit comments

Comments
 (0)