diff options
-rw-r--r-- | src/html.h | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -25,7 +25,7 @@ #include <glib.h> gchar * -mq_html_document(const gchar *title, ...); +mq_html_document(const gchar *title, ...) G_GNUC_NULL_TERMINATED; #define TEXT_ELEMENT(ELEM) \ gchar * \ @@ -40,19 +40,22 @@ TEXT_ELEMENT(p) #undef TEXT_ELEMENT gchar * -mq_html_container(const gchar *element, ...); +mq_html_container(const gchar *element, ...) G_GNUC_NULL_TERMINATED; gchar * -mq_html_list(const gchar *type, GDestroyNotify destroy, ...); +mq_html_list(const gchar *type, GDestroyNotify destroy, ...) + G_GNUC_NULL_TERMINATED; gchar * mq_html_list_v(const gchar *type, gchar **children); gchar * -mq_html_notebook(gboolean vertical, const gchar *name, guint current_page, ...); +mq_html_notebook(gboolean vertical, const gchar *name, guint current_page, ...) + G_GNUC_NULL_TERMINATED; gchar * -mq_html_form(const gchar *submit_label, const gchar *reset_label, ...); +mq_html_form(const gchar *submit_label, const gchar *reset_label, ...) + G_GNUC_NULL_TERMINATED; gchar * mq_html_input_text(const gchar *name, const gchar *label, const gchar *value); @@ -74,6 +77,7 @@ mq_html_input_checkbox(const gchar *name, const gchar *label, gboolean checked); gchar * mq_html_input_select(const gchar *name, const gchar *label, const gchar *selected, - GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...); + GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...) + G_GNUC_NULL_TERMINATED; #endif |