Skip to content

Commit 6afe239

Browse files
committed
update koffi
1 parent 17f5c7e commit 6afe239

3 files changed

Lines changed: 254 additions & 254 deletions

File tree

lib/koffi/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Callback{
2222
const parameters = asArray(definition.parameters) ?? [];
2323
const result = definition.result || "void";
2424

25-
const cb = koffi.callback(randomUUID(), result, parameters);
25+
const cb = koffi.proto(randomUUID(), result, parameters);
2626
this.#ref = koffi.pointer(cb);
2727

2828
if(typeof callback === "function"){

0 commit comments

Comments
 (0)