2 #ifndef DEBUG_FUNCTIONS_H
3 #define DEBUG_FUNCTIONS_H
16 const char*BIN_FORM_8(uint8_t x);
17 const char*BIN_FORM_16(uint16_t x);
18 const char*BIN_FORM_32(uint32_t x);
20 int load_text_file(
const char*filepath,
char*buffer,
size_t buffer_size,
size_t*out_length);
21 void bitmap8_to_bitmap24(uint8_t*bitmap24,
const uint8_t*bitmap8,
size_t w,
size_t h);
22 int save_bmp24(
const char*filepath,uint32_t width,uint32_t height,
const uint8_t*data);