render: Drop use of table_select().
[pspp] / src / output / table.h
index 40cae3a22cabaf56e6dbcafc3d07dc83e75262d0..4ecaa35d4fb4a4a59aea440fc20fd5e93aba6dd1 100644 (file)
@@ -56,8 +56,8 @@ struct variable;
 enum table_axis
   {
     TABLE_HORZ,
-    TABLE_VERT,
-    TABLE_N_AXES
+    TABLE_VERT
+#define TABLE_N_AXES 2
   };
 
 struct cell_color
@@ -199,9 +199,7 @@ enum
 /* Given line styles A and B (each one of the TAL_* enumeration constants
    above), returns a line style that "combines" them, that is, that gives a
    reasonable line style choice for a rule for different reasons should have
-   both styles A and B.
-
-   Used especially for pasting tables together (see table_paste()). */
+   both styles A and B. */
 static inline int table_rule_combine (int a, int b)
 {
   return a > b ? a : b;
@@ -286,7 +284,4 @@ struct table *table_select_columns (struct table *,
 struct table *table_select_rows (struct table *,
                                  int y0, int y1, bool add_headers);
 
-/* Miscellaneous table operations. */
-struct table *table_transpose (struct table *);
-
 #endif /* output/table.h */