X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Ftext-item.h;h=28e2457a2c9f8c76491b5243ee259108aeb745c2;hb=a09789d93e0160b14f1b06ad91080a249c252253;hp=554d478f7407df186d726df8ae6c497db0e456d4;hpb=a63a6cac40eeffdda6cc14e16c165f880dc79823;p=pspp diff --git a/src/output/text-item.h b/src/output/text-item.h index 554d478f74..28e2457a2c 100644 --- a/src/output/text-item.h +++ b/src/output/text-item.h @@ -50,15 +50,17 @@ struct text_item int size; }; -struct text_item *text_item_create (enum text_item_type, const char *text); -struct text_item *text_item_create_nocopy (enum text_item_type, char *text); -struct text_item *text_item_create_format (enum text_item_type, - const char *format, ...) - PRINTF_FORMAT (2, 3); +struct text_item *text_item_create (enum text_item_type, + const char *text, const char *label); +struct text_item *text_item_create_nocopy (enum text_item_type, + char *text, char *label); enum text_item_type text_item_get_type (const struct text_item *); const char *text_item_get_text (const struct text_item *); +struct text_item *text_item_unshare (struct text_item *); +bool text_item_append (struct text_item *dst, const struct text_item *src); + struct table_item *text_item_to_table_item (struct text_item *); /* This boilerplate for text_item, a subclass of output_item, was