[gtk/function-annotations: 4/16] Annotate gsk_ngl_uniform_state_align as pure



commit 1933c02acf3e2657dab09529838afae98b3e9c51
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 14 12:22:36 2021 -0400

    Annotate gsk_ngl_uniform_state_align as pure

 gsk/ngl/gskngluniformstateprivate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/ngl/gskngluniformstateprivate.h b/gsk/ngl/gskngluniformstateprivate.h
index d792675e3a..835498be48 100644
--- a/gsk/ngl/gskngluniformstateprivate.h
+++ b/gsk/ngl/gskngluniformstateprivate.h
@@ -167,7 +167,7 @@ gsk_ngl_uniform_state_get_value (GskNglUniformState    *state,
   return gsk_ngl_uniform_state_init_value (state, program, format, array_count, key, out_mapping);
 }
 
-static inline guint
+G_GNUC_PURE static inline guint
 gsk_ngl_uniform_state_align (guint current_pos,
                              guint size)
 {


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