htable can't handle NULL or 1 values, so we add 2 */
| 230 | |
| 231 | /* htable can't handle NULL or 1 values, so we add 2 */ |
| 232 | static struct gossmap_chan *ptrint2chan(const ptrint_t *pidx) |
| 233 | { |
| 234 | return map->chan_arr + ptr2int(pidx) - 2; |
| 235 | } |
| 236 | |
| 237 | static ptrint_t *chan2ptrint(const struct gossmap_chan *chan) |
| 238 | { |
no test coverage detected