pkg/sentry: custom transports

This commit is contained in:
Mitchell Hashimoto
2024-08-27 13:31:59 -07:00
parent 1070068090
commit b11f0d5cc9
3 changed files with 40 additions and 0 deletions

10
pkg/sentry/envelope.zig Normal file
View File

@@ -0,0 +1,10 @@
const std = @import("std");
const assert = std.debug.assert;
const c = @import("c.zig").c;
/// sentry_envelope_t
pub const Envelope = opaque {
pub fn deinit(self: *Envelope) void {
c.sentry_envelope_free(@ptrCast(self));
}
};