diff options
author | Timm Bäder <mail@baedert.org> | 2020-01-24 13:17:09 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-01-26 18:21:07 +0100 |
commit | 77e0d360ed721fb9a8eb9cebe10346cfda304eb4 (patch) | |
tree | 4f3457eecb246b0814502fec9649c655f9f3503f /gtk/css | |
parent | 942a93250a5227a051017737873b7d40f24b9e59 (diff) | |
download | gtk+-77e0d360ed721fb9a8eb9cebe10346cfda304eb4.tar.gz |
Add pure and const annotations to various functions
Diffstat (limited to 'gtk/css')
-rw-r--r-- | gtk/css/gtkcsstokenizerprivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/css/gtkcsstokenizerprivate.h b/gtk/css/gtkcsstokenizerprivate.h index 8119da28e9..279af1860e 100644 --- a/gtk/css/gtkcsstokenizerprivate.h +++ b/gtk/css/gtkcsstokenizerprivate.h @@ -109,16 +109,16 @@ union _GtkCssToken { void gtk_css_token_clear (GtkCssToken *token); -gboolean gtk_css_token_is_finite (const GtkCssToken *token); +gboolean gtk_css_token_is_finite (const GtkCssToken *token) G_GNUC_PURE; gboolean gtk_css_token_is_preserved (const GtkCssToken *token, - GtkCssTokenType *out_closing); + GtkCssTokenType *out_closing) G_GNUC_PURE; #define gtk_css_token_is(token, _type) ((token)->type == (_type)) gboolean gtk_css_token_is_ident (const GtkCssToken *token, - const char *ident); + const char *ident) G_GNUC_PURE; gboolean gtk_css_token_is_function (const GtkCssToken *token, - const char *ident); + const char *ident) G_GNUC_PURE; gboolean gtk_css_token_is_delim (const GtkCssToken *token, - gunichar delim); + gunichar delim) G_GNUC_PURE; void gtk_css_token_print (const GtkCssToken *token, GString *string); |