| 1455 | } |
| 1456 | |
| 1457 | void dump_byte_table(FILE *f, const char *cname, const uint8_t *tab, int len) |
| 1458 | { |
| 1459 | int i; |
| 1460 | fprintf(f, "static const uint8_t %s[%d] = {", cname, len); |
| 1461 | for(i = 0; i < len; i++) { |
| 1462 | if (i % 8 == 0) |
| 1463 | fprintf(f, "\n "); |
| 1464 | fprintf(f, " 0x%02x,", tab[i]); |
| 1465 | } |
| 1466 | fprintf(f, "\n};\n\n"); |
| 1467 | } |
| 1468 | |
| 1469 | #define PROP_BLOCK_LEN 32 |
| 1470 |
no outgoing calls
no test coverage detected