This occasionally makes debugging easier.
const struct output_item_class chart_item_class =
{
+ "chart",
chart_item_destroy,
};
const struct output_item_class group_open_item_class =
{
+ "group_open",
group_open_item_destroy,
};
\f
const struct output_item_class group_close_item_class =
{
+ "group_close",
group_close_item_destroy,
};
const struct output_item_class message_item_class =
{
+ "message",
message_item_destroy,
};
instance of output_item. */
struct output_item_class
{
+ const char *name;
+
/* Destroys and frees ITEM. Called when output_item_unref() drops ITEM's
reference count to 0. */
void (*destroy) (struct output_item *item);
const struct output_item_class page_setup_item_class =
{
+ "page_setup",
page_setup_item_destroy,
};
const struct output_item_class table_item_class =
{
+ "table",
table_item_destroy,
};
const struct output_item_class text_item_class =
{
+ "text",
text_item_destroy,
};