clutter/debug: Add printf annotations to log helpers

This commit is contained in:
Jonas Ådahl 2019-01-20 09:00:55 +01:00
parent 8c9e827aab
commit c242558398
2 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,9 @@ extern guint clutter_pick_debug_flags;
extern guint clutter_paint_debug_flags; extern guint clutter_paint_debug_flags;
void _clutter_debug_messagev (const char *format, void _clutter_debug_messagev (const char *format,
va_list var_args); va_list var_args) G_GNUC_PRINTF (1, 0);
void _clutter_debug_message (const char *format, void _clutter_debug_message (const char *format,
...); ...) G_GNUC_PRINTF (1, 2);
G_END_DECLS G_END_DECLS

View File

@ -202,7 +202,7 @@ gboolean _clutter_feature_init (GError **error);
/* Diagnostic mode */ /* Diagnostic mode */
gboolean _clutter_diagnostic_enabled (void); gboolean _clutter_diagnostic_enabled (void);
void _clutter_diagnostic_message (const char *fmt, ...); void _clutter_diagnostic_message (const char *fmt, ...) G_GNUC_PRINTF (1, 2);
/* Picking code */ /* Picking code */
guint _clutter_pixel_to_id (guchar pixel[4]); guint _clutter_pixel_to_id (guchar pixel[4]);