/* Populate the hash with zero entries */
entries = xnmalloc (hi - lo + 1, sizeof *entries);
/* Populate the hash with zero entries */
entries = xnmalloc (hi - lo + 1, sizeof *entries);
struct pivot_dimension *var_dim
= pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Variable"));
struct pivot_dimension *var_dim
= pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Variable"));
pivot_category_create_leaf (var_dim->root,
pivot_value_new_variable (ost->vars[i]));
struct pivot_dimension *category_dim
= pivot_dimension_create (table, PIVOT_AXIS_ROW, N_("Category"));
size_t n_cells = cst->hi - cst->lo + 1;
pivot_category_create_leaf (var_dim->root,
pivot_value_new_variable (ost->vars[i]));
struct pivot_dimension *category_dim
= pivot_dimension_create (table, PIVOT_AXIS_ROW, N_("Category"));
size_t n_cells = cst->hi - cst->lo + 1;
pivot_category_create_leaf (category_dim->root,
pivot_value_new_integer (i + 1));
pivot_category_create_leaves (category_dim->root, N_("Total"));
pivot_category_create_leaf (category_dim->root,
pivot_value_new_integer (i + 1));
pivot_category_create_leaves (category_dim->root, N_("Total"));
{
/* Category. */
pivot_table_put3 (table, 0, v, i,
{
/* Category. */
pivot_table_put3 (table, 0, v, i,
struct pivot_dimension *variables = pivot_dimension_create (
table, PIVOT_AXIS_ROW, N_("Variable"));
struct pivot_dimension *variables = pivot_dimension_create (
table, PIVOT_AXIS_ROW, N_("Variable"));