Skip to content

Commit

Permalink
zflecs: remove old compiler bug workaround
Browse files Browse the repository at this point in the history
Closes #282
  • Loading branch information
hazeycode committed Apr 28, 2024
1 parent fa0626a commit 399e5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/zflecs/src/zflecs.zig
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ pub const iter_t = extern struct {
interrupted_by: entity_t,
priv: iter_private_t,
next: iter_next_action_t,
callback: *const fn (it: *iter_t) callconv(.C) void, // TODO: Compiler bug. Should be `iter_action_t`.
set_var: *const fn (it: *iter_t) callconv(.C) void, // TODO: Compiler bug. Should be `iter_action_t`.
callback: iter_action_t,
set_var: iter_action_t,
fini: iter_fini_action_t,
chain_it: ?*iter_t,

Expand Down

4 comments on commit 399e5bc

@OndraVoves
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hazeycode does not compile with 0.13.0-dev.46+3648d7df1 after revert this change its compile OK

@copygirl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue tracking this bug (ziglang/zig#16932) also hasn't been closed yet.

@hazeycode
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake. Will revert this.

@hazeycode
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted. Thanks!

Please sign in to comment.