diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 22:54:39 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 22:54:39 -0700 |
commit | e5226da128493945a2248331c6ad30f14f5ac7a2 (patch) | |
tree | 796986226b38279413a91d3dddb9fe09c90cb86c /src/til_stream.h | |
parent | 34f25316966ae80059d8dcfe36103e4a986aeec5 (diff) |
til_stream: return skipped count from til_stream_gc_module_contexts()
Preparatory commit for making til_stream_free() assert on leaked
module contexts.
Diffstat (limited to 'src/til_stream.h')
-rw-r--r-- | src/til_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |