Re:Checked C
by int_19h on Friday December 23, 2022 @06:09PM
(#34111678)
To pass fixed-size arrays in a way that preserves the type and allows checking their bounds, you can use pointers-to-arrays:
This is all vanilla C89, so it works even with very old compilers, so long as they're conformant.
[ Parent
| on HN ]
There are no comments on this comment yet.