# CBE: better handling of sentineled slices/arrays · gitcafe/zig

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

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

Visibility: public

Requested revision: 312536540baf26728a56304811f63f01a7414b7a

Requested commit: 312536540baf26728a56304811f63f01a7414b7a

Commit: 312536540baf26728a56304811f63f01a7414b7a

Tree: 5a5f168ec6001971e8cf3d2496fc6dec1d095355

Author: Daniele Cocca

Committer: Andrew Kelley

## Message

```
CBE: better handling of sentineled slices/arrays

Adds the sentinel element to the type name to avoid ambiguous
declarations, and outputs the sentinel element (if needed) even in what
would otherwise be empty arrays.

```

## Parents

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

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