From e5226da128493945a2248331c6ad30f14f5ac7a2 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 13 Aug 2023 22:54:39 -0700 Subject: til_stream: return skipped count from til_stream_gc_module_contexts() Preparatory commit for making til_stream_free() assert on leaked module contexts. --- src/til_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/til_stream.h') diff --git a/src/til_stream.h b/src/til_stream.h index 5473aec..eab078c 100644 --- a/src/til_stream.h +++ b/src/til_stream.h @@ -74,7 +74,7 @@ int til_stream_for_each_module_context(til_stream_t *stream, til_stream_module_c int til_stream_register_module_contexts(til_stream_t *stream, size_t n_contexts, til_module_context_t **contexts); int til_stream_find_module_contexts(til_stream_t *stream, const char *path, size_t n_contexts, til_module_context_t **res_contexts); -void til_stream_gc_module_contexts(til_stream_t *stream); +unsigned til_stream_gc_module_contexts(til_stream_t *stream); void til_stream_fprint_module_contexts(til_stream_t *stream, FILE *out); #endif -- cgit v1.2.1