[tracker/wip/carlosg/update-perf: 25/65] libtracker-sparql: Update code comments




commit 3a008af3879932f8a19e3a89891e05713dfb0130
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jun 3 11:16:15 2022 +0200

    libtracker-sparql: Update code comments
    
    Update the comments as per the current structure/content of the
    data types.

 src/libtracker-sparql/core/tracker-data-update.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-sparql/core/tracker-data-update.c 
b/src/libtracker-sparql/core/tracker-data-update.c
index 4446784ee..152a2fd4d 100644
--- a/src/libtracker-sparql/core/tracker-data-update.c
+++ b/src/libtracker-sparql/core/tracker-data-update.c
@@ -54,7 +54,7 @@ struct _TrackerDataUpdateBuffer {
        GHashTable *resource_cache;
        /* set of IDs, key is same pointer than resource_cache, and owned there */
        GHashTable *new_resources;
-       /* string -> TrackerDataUpdateBufferGraph */
+       /* TrackerDataUpdateBufferGraph */
        GPtrArray *graphs;
 };
 
@@ -62,7 +62,7 @@ struct _TrackerDataUpdateBufferGraph {
        gchar *graph;
        TrackerRowid id;
 
-       /* string -> TrackerDataUpdateBufferResource */
+       /* id -> TrackerDataUpdateBufferResource */
        GHashTable *resources;
        /* id -> integer */
        GHashTable *refcounts;


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