/* PSPP - a program for statistical analysis.
- Copyright (C) 2009, 2011, 2014 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2011, 2014, 2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
struct table *
table_create_nested (struct table *inner)
{
- return table_create_nested_item (table_item_create (inner, NULL));
+ return table_create_nested_item (table_item_create (inner, NULL, NULL));
}
/* Creates and returns a table with a single cell that contains INNER.
struct table_nested *tn = xmalloc (sizeof *tn);
table_init (&tn->table, &table_nested_class);
tn->table.n[TABLE_HORZ] = tn->table.n[TABLE_VERT] = 1;
- tn->inner = table_item_ref (inner);
+ tn->inner = inner;
return &tn->table;
}