| 457 | typedef struct { size_t calls; size_t stop_at; } pv2_cancel_t; |
| 458 | |
| 459 | static bool pv2_cancel(void *context) { |
| 460 | pv2_cancel_t *state = context; |
| 461 | state->calls++; |
| 462 | return state->stop_at && state->calls >= state->stop_at; |
| 463 | } |
| 464 | |
| 465 | typedef struct { char *data; size_t used; size_t capacity; } pv2_buffer_t; |
| 466 |
nothing calls this directly
no outgoing calls
no test coverage detected