static struct table_casereader *
table_casereader_cast (const struct table *table)
{
- assert (table->class == &table_casereader_class);
+ assert (table->klass == &table_casereader_class);
return UP_CAST (table, struct table_casereader, table);
}
int x UNUSED, int y)
{
struct table_casereader *tc = table_casereader_cast (t);
- return axis == TABLE_VERT && tc->heading != NULL && y == 1 ? TAL_1 : TAL_0;
+ if (axis == TABLE_VERT)
+ return tc->heading != NULL && y == 1 ? TAL_1 : TAL_0;
+ else
+ return TAL_GAP;
}
static const struct table_class table_casereader_class =