Expose pivot_category_dump to global scope.
authorJohn Darrington <john@cellform.com>
Tue, 20 Jun 2023 06:22:10 +0000 (08:22 +0200)
committerJohn Darrington <john@cellform.com>
Tue, 20 Jun 2023 07:10:56 +0000 (09:10 +0200)
This function is useful for debugging during development of users of
pivot tables.

src/output/pivot-table.c
src/output/pivot-table.h

index c2113c623d3989114fbf2e989309768f891c3458..2f1c9c4bcd2271d101e8625818d18583489bb362 100644 (file)
@@ -1965,7 +1965,7 @@ pivot_table_dump_string (const char *string, const char *name, int indentation)
     }
 }
 
-static void
+void
 pivot_category_dump (const struct pivot_category *c,
                      const struct pivot_table *pt, int indentation)
 {
index 24aa00acd7e9cafba184994393886e3188ae215c..6d8466b4601736659400d51bc1270bd5075afe18 100644 (file)
@@ -645,6 +645,9 @@ size_t *pivot_table_enumerate_axis (const struct pivot_table *,
 void pivot_table_assign_label_depth (struct pivot_table *);
 
 void pivot_table_dump (const struct pivot_table *, int indentation);
+void pivot_category_dump (const struct pivot_category *c,
+                          const struct pivot_table *pt, int indentation);
+
 \f
 /* pivot_value. */