| 536 | } |
| 537 | |
| 538 | void featurebits_unset(u8 **ptr, size_t bit) |
| 539 | { |
| 540 | size_t len = tal_count(*ptr); |
| 541 | if (bit / 8 >= len) |
| 542 | return; |
| 543 | |
| 544 | (*ptr)[len - 1 - bit / 8] &= (0 << (bit % 8)); |
| 545 | |
| 546 | trim_features(ptr); |
| 547 | } |
| 548 | |
| 549 | bool featurebits_eq(const u8 *f1, const u8 *f2) |
| 550 | { |
no test coverage detected