shithub: libtags

Download patch

ref: 4a7f42e378e27bf70c928b411ac859c870c23f24
parent: f68e997ecefd77b3d1cd33c21264d5ced6e5d021
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Mar 17 23:22:50 EDT 2024

readtags: print toc

--- a/examples/readtags.c
+++ b/examples/readtags.c
@@ -92,7 +92,9 @@
 static void
 toc(Tagctx *ctx, int ms, int offset)
 {
-	USED(ctx); USED(ms); USED(offset);
+	USED(ctx);
+	if(!image)
+		printf("toc %-8d %-12d\n", ms, offset);
 }
 
 static int