-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
// SPDX-FileCopyrightText: 2025 Shota FUJI <pockawoooh@gmail.com>
// SPDX-License-Identifier: AGPL-3.0-only
const std = @import("std");
const Core = @import("Core.zig");
pub fn main() !void {
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
defer arena.deinit();
const allocator = arena.allocator();
const core = Core.init(allocator);
const bytes = try core.handle("yamori.meta.v1", "Ping", &.{});
std.debug.print("{d}:{d}\n", .{ @intFromPtr(bytes.ptr), bytes.len });
}