# io_uring: refactor buf_reg flags · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/94b36dbe50a90172a57e0ab828079fcb2b7cfcfc)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 94b36dbe50a90172a57e0ab828079fcb2b7cfcfc

Requested commit: 94b36dbe50a90172a57e0ab828079fcb2b7cfcfc

Commit: 94b36dbe50a90172a57e0ab828079fcb2b7cfcfc

Tree: 8db964bf659a093463fff93370fac624d9b5232b

Author: Igor Anić

Committer: Igor Anić

## Message

```
io_uring: refactor buf_reg flags

Use packed struct instead of or-ed integers.

Thanks to @linsug for pr comments: https://github.com/ziglang/zig/pull/23062

```

## Parents

- [c133171567fe3a81f817d0ea159bd9229d75291c](https://git.cafe/gitcafe/zig/commit/c133171567fe3a81f817d0ea159bd9229d75291c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/94b36dbe50a90172a57e0ab828079fcb2b7cfcfc?format=markdown)
