[tracker/wip/carlosg/update-perf: 3/43] libtracker-sparql: Update code comments




commit 06497e7ae9287076b2c2fd0566ded95ed66dd6bc
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 f7e7a5f80..1afa003c9 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]