# introduce \[\*\] for unknown length pointers · gitcafe/zig

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

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

Visibility: public

Requested revision: f06bce5ddaea368040560f584170aee2864fa399

Requested commit: f06bce5ddaea368040560f584170aee2864fa399

Commit: f06bce5ddaea368040560f584170aee2864fa399

Tree: 61937f83c19f0090cd9daadfa570504801dc24f8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
introduce [*] for unknown length pointers

See #770

Currently it does not have any different behavior than `*`
but it is now recommended to use `[*]` for unknown length
pointers to be future-proof.

Instead of [ * ] being separate tokens as the proposal
suggested, this commit implements `[*]` as a single token.

```

## Parents

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

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