[tracker] libtracker-data: Improve struct comments in tracker-data-update.c
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Improve struct comments in tracker-data-update.c
- Date: Thu, 17 Dec 2009 17:12:39 +0000 (UTC)
commit 1286e3aabc68d03104bcd99c6ee8f2a271454c59
Author: Jürg Billeter <j bitron ch>
Date: Wed Dec 16 15:31:15 2009 +0100
libtracker-data: Improve struct comments in tracker-data-update.c
src/libtracker-data/tracker-data-update.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index b5bc247..be60cb8 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -53,6 +53,7 @@ typedef struct _TrackerStatementDelegate TrackerStatementDelegate;
typedef struct _TrackerCommitDelegate TrackerCommitDelegate;
struct _TrackerDataUpdateBuffer {
+ /* string -> integer */
GHashTable *resource_cache;
/* string -> TrackerDataUpdateBufferResource */
GHashTable *resources;
@@ -68,7 +69,9 @@ struct _TrackerDataUpdateBufferResource {
gboolean fts_updated;
/* TrackerProperty -> GValueArray */
GHashTable *predicates;
+ /* string -> TrackerDataUpdateBufferTable */
GHashTable *tables;
+ /* string */
GPtrArray *types;
};
@@ -84,6 +87,7 @@ struct _TrackerDataUpdateBufferTable {
gboolean delete_value;
gboolean multiple_values;
TrackerClass *class;
+ /* TrackerDataUpdateBufferProperty */
GArray *properties;
};
@@ -92,8 +96,11 @@ struct _TrackerDataUpdateBufferTable {
struct _TrackerDataBlankBuffer {
GHashTable *table;
gchar *subject;
+ /* string */
GArray *predicates;
+ /* string */
GArray *objects;
+ /* string */
GArray *graphs;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]