tigerbeetle-node 0.16.57 → 0.16.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/aarch64-linux-gnu/client.node +0 -0
- package/dist/bin/aarch64-linux-musl/client.node +0 -0
- package/dist/bin/aarch64-macos/client.node +0 -0
- package/dist/bin/x86_64-linux-gnu/client.node +0 -0
- package/dist/bin/x86_64-linux-musl/client.node +0 -0
- package/dist/bin/x86_64-macos/client.node +0 -0
- package/dist/bin/x86_64-windows/client.node +0 -0
- package/package.json +1 -1
- package/src/c.zig +1 -1
- package/src/translate.zig +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/c.zig
CHANGED
package/src/translate.zig
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const std = @import("std");
|
|
2
2
|
const assert = std.debug.assert;
|
|
3
|
-
const c = @import("c.zig");
|
|
3
|
+
const c = @import("c.zig").c;
|
|
4
4
|
|
|
5
5
|
pub fn register_function(
|
|
6
6
|
env: c.napi_env,
|
|
7
7
|
exports: c.napi_value,
|
|
8
8
|
comptime name: [:0]const u8,
|
|
9
|
-
function: *const fn (env: c.napi_env, info: c.napi_callback_info) callconv(.
|
|
9
|
+
function: *const fn (env: c.napi_env, info: c.napi_callback_info) callconv(.c) c.napi_value,
|
|
10
10
|
) !void {
|
|
11
11
|
var napi_function: c.napi_value = undefined;
|
|
12
12
|
if (c.napi_create_function(env, null, 0, function, null, &napi_function) != c.napi_ok) {
|