C preprocessor: Difference between revisions

Content deleted Content added
 
Line 139:
 
<syntaxhighlight lang="cpp">
const unsigned char icon_display_dataiconDisplayData[] = {
#embed "art.png"
};
 
/* specify any type which can be initialized form integer constant expressions will do */
const char reset_blobresetBlob[] = {
#embed "data.bin"
};
 
/* attributes work just as well */
const signed char aligned_data_stralignedDataString[] __attribute__ ((aligned (8))) = {
#embed "attributes.xml"
};