You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/playground/embedded_resources/main.c

19 lines
253 B
C

#include <stdio.h>
#include <stdint.h>
#include "x-resources.h"
int main()
{
EXTLD(main_c)
size_t length = LDLEN(main_c);
uint8_t const * data = LDVAR(main_c);
printf("Data at %p, len %zu\n", data, length);
printf("%s\n", data);
return 0;
}