build: update thespian for new cbor

This commit is contained in:
CJ van den Berg 2025-07-23 12:19:10 +02:00
parent 54eb30468a
commit 0ce522828d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 10 additions and 2 deletions

View file

@ -231,6 +231,8 @@ pub fn restore_state_v0(self: *Self, data: []const u8) error{
JsonIncompatibleType,
NotAnObject,
BadArrayAllocExtract,
InvalidMapType,
InvalidUnion,
}!void {
tp.trace(tp.channel.debug, .{"restore_state_v0"});
defer self.sort_files_by_mtime();

View file

@ -58,6 +58,8 @@ pub const Error = error{
JsonIncompatibleType,
NotAnObject,
BadArrayAllocExtract,
InvalidMapType,
InvalidUnion,
} || std.Thread.SpawnError;
pub fn init(allocator: std.mem.Allocator, handler_ctx: *anyopaque, no_alternate: bool, _: *const fn (ctx: *anyopaque) void) Error!Self {

View file

@ -36,6 +36,8 @@ pub const Error = error{
JsonIncompatibleType,
NotAnObject,
BadArrayAllocExtract,
InvalidMapType,
InvalidUnion,
} || std.Thread.SpawnError;
pub const panic = messageBoxThenPanic(.{ .title = "Flow Panic" });

View file

@ -27,6 +27,8 @@ pub const Error = error{
JsonIncompatibleType,
NotAnObject,
BadArrayAllocExtract,
InvalidMapType,
InvalidUnion,
};
pub const OutputHandler = fn (context: usize, parent: tp.pid_ref, arg0: []const u8, output: []const u8) void;