From: John Darrington Date: Tue, 20 Jun 2023 06:22:10 +0000 (+0200) Subject: Expose pivot_category_dump to global scope. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9069b73c2ab6e8529ff3bea8be5bc2fa7a0521;p=pspp Expose pivot_category_dump to global scope. This function is useful for debugging during development of users of pivot tables. --- diff --git a/src/output/pivot-table.c b/src/output/pivot-table.c index c2113c623d..2f1c9c4bcd 100644 --- a/src/output/pivot-table.c +++ b/src/output/pivot-table.c @@ -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) { diff --git a/src/output/pivot-table.h b/src/output/pivot-table.h index 24aa00acd7..6d8466b460 100644 --- a/src/output/pivot-table.h +++ b/src/output/pivot-table.h @@ -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); + /* pivot_value. */