# translate-c: take address of functions before passing them to @ptrToInt · gitcafe/zig

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

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

Visibility: public

Requested revision: 7ba1f9bfb52a1f6fa776eeafb45790331be4388f

Requested commit: 7ba1f9bfb52a1f6fa776eeafb45790331be4388f

Commit: 7ba1f9bfb52a1f6fa776eeafb45790331be4388f

Tree: e893b174fc9b7e88ea15190f75e05753b315e940

Author: Evan Haas

Committer: Veikka Tuominen

## Message

```
translate-c: take address of functions before passing them to @ptrToInt

Fixes #12194

```

## Parents

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

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