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 17f5c7e commit 6afe239Copy full SHA for 6afe239
3 files changed
lib/koffi/helper.js
@@ -22,7 +22,7 @@ class Callback{
22
const parameters = asArray(definition.parameters) ?? [];
23
const result = definition.result || "void";
24
25
- const cb = koffi.callback(randomUUID(), result, parameters);
+ const cb = koffi.proto(randomUUID(), result, parameters);
26
this.#ref = koffi.pointer(cb);
27
28
if(typeof callback === "function"){
0 commit comments