# macho: move findFreeSpace back to MachO struct · gitcafe/zig

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

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

Visibility: public

Requested revision: 99578e828b84ba7b308e7bbfac3e99650379edc0

Requested commit: 99578e828b84ba7b308e7bbfac3e99650379edc0

Commit: 99578e828b84ba7b308e7bbfac3e99650379edc0

Tree: 0e61bcf5e69bd18ecb1bcc8e5aa4925b3ce35753

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: move findFreeSpace back to MachO struct

However, adding a twist where `findFreeSpace` accepts a `SegmentCommand`
as argument meaning we want to look for free space specifically within
that segment and nowhere else.

```

## Parents

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

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