mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
18 lines
473 B
Zig
18 lines
473 B
Zig
const std = @import("std");
|
|
|
|
pub const c = @import("c.zig");
|
|
pub usingnamespace @import("class.zig");
|
|
pub usingnamespace @import("object.zig");
|
|
pub usingnamespace @import("property.zig");
|
|
pub usingnamespace @import("sel.zig");
|
|
|
|
/// This just calls the C allocator free. Some things need to be freed
|
|
/// and this is how they can be freed for objc.
|
|
pub inline fn free(ptr: anytype) void {
|
|
std.heap.c_allocator.free(ptr);
|
|
}
|
|
|
|
test {
|
|
std.testing.refAllDecls(@This());
|
|
}
|