Use embed from C23 today with the Cedro pre-processor (sentido-labs.com) 17 points by AlbertoGP 3y ago ↗ HN
[–] AlbertoGP 3y ago ↗ > “C23 is around the corner and we already know which features it will add to the C language.”> “One of them is the new pre-processor directive #embed, which allows including binary files as byte arrays.”One year ago I presented my C preprocessor Cedro (https://news.ycombinator.com/item?id=28166125, https://news.ycombinator.com/item?id=31193138), and today I wrote this brief note about how you can use it to play with the #embed directive from C23 today.
1 comment
[ 2.2 ms ] story [ 15.8 ms ] thread> “One of them is the new pre-processor directive #embed, which allows including binary files as byte arrays.”
One year ago I presented my C preprocessor Cedro (https://news.ycombinator.com/item?id=28166125, https://news.ycombinator.com/item?id=31193138), and today I wrote this brief note about how you can use it to play with the #embed directive from C23 today.