# macho: don't store allocator in Object · gitcafe/zig

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

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

Visibility: public

Requested revision: c30cc4dbbfe3e1494160ffac18ce6a9f9a5e5224

Requested commit: c30cc4dbbfe3e1494160ffac18ce6a9f9a5e5224

Commit: c30cc4dbbfe3e1494160ffac18ce6a9f9a5e5224

Tree: 7c152b08e974f3769180a7aee9838470288b0060

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: don't store allocator in Object

instead, pass it in functions that require it. Also, when parsing
relocs, make Object part of the context struct where we pass in
additional goodies such as `*MachO` or `*Allocator`.

```

## Parents

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

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