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.
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://lobste.rs/s/18axic/c_programming_language_extension_cedro, https://lobste.rs/s/epwgax/c_programming_language_extension_cedro), and today I wrote this brief note about how you can use it to play with the #embed directive from C23 today.
One year ago I presented my C preprocessor Cedro (https://lobste.rs/s/18axic/c_programming_language_extension_cedro, https://lobste.rs/s/epwgax/c_programming_language_extension_cedro), and today I wrote this brief note about how you can use it to play with the #embed directive from C23 today.