[gtk/function-annotations: 2/16] Annotate pango_glyph_string_num_glyphs as pure




commit fde430dbf6ac3e9ccd533fc8b48e4afeb3b9a7f5
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 14 12:21:05 2021 -0400

    Annotate pango_glyph_string_num_glyphs as pure

 gsk/gskprivate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h
index 5d9f88c942..77c0fe2bf6 100644
--- a/gsk/gskprivate.h
+++ b/gsk/gskprivate.h
@@ -8,7 +8,7 @@ G_BEGIN_DECLS
 
 void gsk_ensure_resources (void);
 
-int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs);
+int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE;
 
 typedef struct _GskVulkanRender GskVulkanRender;
 typedef struct _GskVulkanRenderPass GskVulkanRenderPass;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]