Skip to content

Commit a78146a

Browse files
committed
Fix observer callback type.
1 parent 9c48472 commit a78146a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zflecs.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ pub const observer_desc_t = extern struct {
11391139
events: [FLECS_EVENT_DESC_MAX]entity_t = [_]entity_t{0} ** FLECS_EVENT_DESC_MAX,
11401140

11411141
yield_existing: bool = false,
1142-
callback: iter_action_t,
1142+
callback: ?iter_action_t,
11431143
run: ?run_action_t = null,
11441144
ctx: ?*anyopaque = null,
11451145
ctx_free: ?ctx_free_t = null,

0 commit comments

Comments
 (0)