# cbe: fix globals that reference functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 65a48df5324278c3d876e168b523894c8662e546

Requested commit: 65a48df5324278c3d876e168b523894c8662e546

Commit: 65a48df5324278c3d876e168b523894c8662e546

Tree: c06ab8f0ddf444d82a8fa1524a6c9ac36cb5e1b0

Author: Jacob Young

Committer: Jacob Young

## Message

```
cbe: fix globals that reference functions

Global constant initializers can reference functions, so forward declare
the constants and initialize them later with the function definitions,
which guarantees that they appear after all declarations.

```

## Parents

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

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