main.c 253 B

123456789101112131415161718
  1. #include <stdio.h>
  2. #include <stdint.h>
  3. #include "x-resources.h"
  4. int main()
  5. {
  6. EXTLD(main_c)
  7. size_t length = LDLEN(main_c);
  8. uint8_t const * data = LDVAR(main_c);
  9. printf("Data at %p, len %zu\n", data, length);
  10. printf("%s\n", data);
  11. return 0;
  12. }