htable can't handle NULL or 1 values, so we add 2 */
| 201 | |
| 202 | /* htable can't handle NULL or 1 values, so we add 2 */ |
| 203 | static struct gossmap_chan *ptrint2chan(const ptrint_t *pidx) |
| 204 | { |
| 205 | return map->chan_arr + ptr2int(pidx) - 2; |
| 206 | } |
| 207 | |
| 208 | static ptrint_t *chan2ptrint(const struct gossmap_chan *chan) |
| 209 | { |
no test coverage detected