|
|
@ -1,11 +1,10 @@ |
|
|
|
const std = @import("std"); |
|
|
|
const std = @import("std"); |
|
|
|
const Allocator = std.mem.Allocator; |
|
|
|
const Allocator = std.mem.Allocator; |
|
|
|
|
|
|
|
|
|
|
|
const meta = @import("./meta.zig"); |
|
|
|
const c = @import("./c.zig"); |
|
|
|
const errors = @import("./errors.zig"); |
|
|
|
const errors = @import("./errors.zig"); |
|
|
|
const flecszigble = @import("./main.zig"); |
|
|
|
const meta = @import("./meta.zig"); |
|
|
|
const Path = flecszigble.Path; |
|
|
|
const Path = @import("./path.zig"); |
|
|
|
const c = flecszigble.c; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub const EntityError = error{ |
|
|
|
pub const EntityError = error{ |
|
|
|
/// Id is `0`. |
|
|
|
/// Id is `0`. |
|
|
@ -345,6 +344,7 @@ pub fn Entity(comptime ctx: anytype) type { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const expect = @import("./test/expect.zig"); |
|
|
|
const expect = @import("./test/expect.zig"); |
|
|
|
|
|
|
|
const flecszigble = @import("./main.zig"); |
|
|
|
|
|
|
|
|
|
|
|
test "Entity get and set" { |
|
|
|
test "Entity get and set" { |
|
|
|
flecszigble.init(std.testing.allocator); |
|
|
|
flecszigble.init(std.testing.allocator); |
|
|
|