Hi! Welcome to the community!
You can try printing or ignoring the error, instead of returning it. C ABI-compatible functions don’t allow returning Zig errors.
const result = allocator.create(Reality) catch unreachable;
Hi! Welcome to the community!
You can try printing or ignoring the error, instead of returning it. C ABI-compatible functions don’t allow returning Zig errors.
const result = allocator.create(Reality) catch unreachable;