| 124 | } |
| 125 | |
| 126 | static void context_deinit(struct hc_slog *s) { |
| 127 | struct hc_slog_context *sc = hc_baseof(s, struct hc_slog_context, slog); |
| 128 | |
| 129 | for (size_t i = 0; i < sc->length; i++) { |
| 130 | struct hc_slog_field *f = sc->fields[i]; |
| 131 | field_deinit(f); |
| 132 | free(f); |
| 133 | } |
| 134 | |
| 135 | free(sc->fields); |
| 136 | } |
| 137 | |
| 138 | static void context_write(struct hc_slog *s, |
| 139 | const size_t n, |
nothing calls this directly
no test coverage detected