# Translate C now correctly converts ints, floats, ptrs and enums to bools · gitcafe/zig

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

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

Visibility: public

Requested revision: 2e010c60ae006944ae20ab8b3445598471c9f1e8

Requested commit: 2e010c60ae006944ae20ab8b3445598471c9f1e8

Commit: 2e010c60ae006944ae20ab8b3445598471c9f1e8

Tree: f80846ddeeac1ed46d1205ee067173ce7771ae9f

Author: Jimmi Holst Christensen

Committer: Jimmi Holst Christensen

## Message

```
Translate C now correctly converts ints, floats, ptrs and enums to bools
* Boolean "and" and "or" should also work with these types.
* This new method also simplifies to output code.

```

## Parents

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

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