Remove Path from Context

main
copygirl 10 months ago
parent c092465fce
commit 7fc5dbba4d
  1. 2
      src/main.zig
  2. 2
      src/test/flecs/entity.zig

@ -42,8 +42,6 @@ pub fn Context(comptime ctx: anytype) type {
pub const Pair = @import("./pair.zig").Pair(ctx);
pub const World = @import("./world.zig").World(ctx);
pub const Path = @import("./path.zig");
/// Returns a pointer unique to this context and the provided type
/// that holds an entity ID. Useful for associating types to entities.
pub fn lookup(comptime T: type) *c.ecs_entity_t {

@ -9,11 +9,11 @@ const util = @import("../util.zig");
const flecs = @import("../../main.zig");
const FlecsError = flecs.FlecsError;
const Path = flecs.Path;
const c = flecs.c;
const Context = flecs.Context(void);
const Entity = Context.Entity;
const Path = Context.Path;
const World = Context.World;
test "Entity_init_id" {

Loading…
Cancel
Save