[mutter/tintou/annotation-additions: 1/4] cogl/context: Add transfer full annotation to destroy timestamp query




commit e4c8125c318935748c989daaf4df0da12bb6ec17
Author: Corentin Noël <corentin noel collabora com>
Date:   Tue Apr 5 12:40:12 2022 +0200

    cogl/context: Add transfer full annotation to destroy timestamp query
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2362>

 cogl/cogl/cogl-context.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/cogl/cogl/cogl-context.c b/cogl/cogl/cogl-context.c
index 276617554f..1f2ebed637 100644
--- a/cogl/cogl/cogl-context.c
+++ b/cogl/cogl/cogl-context.c
@@ -501,6 +501,13 @@ cogl_context_get_named_pipeline (CoglContext     *context,
   return g_hash_table_lookup (context->named_pipelines, key);
 }
 
+/**
+ * cogl_context_free_timestamp_query:
+ * @context: a #CoglContext object
+ * @query: (transfer full): the #CoglTimestampQuery to free
+ *
+ * Free the #CoglTimestampQuery
+ */
 void
 cogl_context_free_timestamp_query (CoglContext        *context,
                                    CoglTimestampQuery *query)


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