2023-01-02 14:48:21 -08:00
|
|
|
const std = @import("std");
|
|
|
|
|
|
|
|
pub const c = @import("c.zig");
|
|
|
|
pub usingnamespace @import("autorelease.zig");
|
2023-10-21 10:21:13 -07:00
|
|
|
pub usingnamespace @import("block.zig");
|
2023-01-02 14:48:21 -08:00
|
|
|
pub usingnamespace @import("class.zig");
|
2023-10-21 10:21:13 -07:00
|
|
|
pub usingnamespace @import("encoding.zig");
|
2024-11-03 03:57:19 +00:00
|
|
|
pub usingnamespace @import("iterator.zig");
|
2023-01-02 14:48:21 -08:00
|
|
|
pub usingnamespace @import("object.zig");
|
|
|
|
pub usingnamespace @import("property.zig");
|
2023-09-04 19:38:58 -04:00
|
|
|
pub usingnamespace @import("protocol.zig");
|
2023-01-02 14:48:21 -08:00
|
|
|
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());
|
|
|
|
}
|