just discovered this new-to-me syntax in C: pointer to an array of a fixed size
i had to double-check that it's legal
just discovered this new-to-me syntax in C: pointer to an array of a fixed size
i had to double-check that it's legal
@whitequark wait what
Does this like do compile time static array bounds checks when using constant indexes? Is it just a hint to the optimizer? What does it do differently from a raw pointer?
@azonenberg unfortunately,
char (*y)[static 0x64];
doesn't work
@cinnamon sorta, but it's semantically different
@whitequark@mastodon.social This is like a char **y, right?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.