Skip to content

Commit 5e926cb

Browse files
author
TinySec
committed
dd
1 parent 744644b commit 5e926cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notes/node_ffi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ffi fast reference
22

33
```javascript
4-
ffi.Library(libraryFile, { functionSymbol: [ returnType, [ arg1Type, arg2Type, ... ], [option] ] , [lib] } );
4+
ffi.Library(libraryFile, { functionSymbol: [ returnType, [ arg1Type, arg2Type, ... ], [option] ] } );
55
```
66
option list
77
* abi
@@ -34,7 +34,7 @@ const HANDLE = ref.types.void;
3434
var kernel32 = ffi.Library( 'kernel32.dll' ,
3535
{
3636
// ULONG __stdcall GetLogicalDrives();
37-
'GetLogicalDrives' : [ 'ulong' , [] , {abi : ffi.FFI_STDCALL } , null ],
37+
'GetLogicalDrives' : [ 'ulong' , [] , {abi : ffi.FFI_STDCALL } ],
3838

3939
// BOOL __stdcall CloseHandle(HANDLE hHandle);
4040
"CloseHandle" : [ 'int' , [ HANDLE ], { abi : ffi.FFI_STDCALL } ] ,

0 commit comments

Comments
 (0)