pivot-table: Make struct pivot_cell public.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 19 Oct 2019 05:51:10 +0000 (05:51 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 05:28:10 +0000 (05:28 +0000)
src/output/pivot-table.c
src/output/pivot-table.h

index 6f49cd2e6486bb0145eb72d1ea7ae62eb5d1bd4a..b98bbbf3e962320238750ed572eb8d7a1f53e179 100644 (file)
@@ -651,14 +651,6 @@ pivot_result_class_change (const char *s_, const struct fmt_spec *format)
   return rc != NULL;
 }
 \f
-/* One piece of data within a pivot table. */
-struct pivot_cell
-  {
-    struct hmap_node hmap_node; /* In struct pivot_table's 'cells' hmap. */
-    struct pivot_value *value;
-    unsigned int idx[];         /* One index per table dimension. */
-  };
-
 /* Pivot tables. */
 
 /* Creates and returns a new pivot table with the given TITLE.  TITLE should be
index d2affc86fa58bd63f472db7d898b11a17b46437d..8006adaf00f851d61f04117bbcfdb4937dd263b1 100644 (file)
@@ -717,5 +717,13 @@ struct pivot_argument
   };
 
 void pivot_argument_uninit (struct pivot_argument *);
+\f
+/* One piece of data within a pivot table. */
+struct pivot_cell
+  {
+    struct hmap_node hmap_node; /* In struct pivot_table's 'cells' hmap. */
+    struct pivot_value *value;
+    unsigned int idx[];         /* One index per table dimension. */
+  };
 
 #endif /* output/pivot-table.h */