Remove reference to main.zig where possible

main
copygirl 10 months ago
parent 7f3e79781e
commit c9bf64a34c
  1. 8
      src/entity.zig
  2. 3
      src/id.zig
  3. 2
      src/iter.zig
  4. 3
      src/pair.zig
  5. 8
      src/world.zig

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

@ -1,5 +1,4 @@
const flecszigble = @import("./main.zig");
const c = flecszigble.c;
const c = @import("./c.zig");
pub const IdError = error{
/// Id is `0`.

@ -1,5 +1,5 @@
const c = @import("./c.zig");
const flecszigble = @import("./main.zig");
const c = flecszigble.c;
pub fn Iter(comptime ctx: anytype) type {
return struct {

@ -1,5 +1,4 @@
const flecszigble = @import("./main.zig");
const c = flecszigble.c;
const c = @import("./c.zig");
pub const PairError = error{
/// Id is `0`.

@ -1,11 +1,11 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const meta = @import("./meta.zig");
const errors = @import("./errors.zig");
const flecszigble = @import("./main.zig");
const Path = flecszigble.Path;
const c = flecszigble.c;
const c = @import("./c.zig");
const errors = @import("./errors.zig");
const meta = @import("./meta.zig");
const Path = @import("./path.zig");
pub fn World(comptime ctx: anytype) type {
return struct {

Loading…
Cancel
Save