diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-06-07 16:53:51 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-07-01 14:27:13 -0300 |
commit | 0d078b2adec72fd74b00defb260724b33e87e184 (patch) | |
tree | 6a3378fa0aa66c9a5b40526897584eb9dbd175b3 /qdict.h | |
parent | c8bc3cd72b4c530721d5be1bf9f599edb5d72160 (diff) |
QDict: Introduce functions to retrieve QDictEntry values
Next commit will introduce a new QDict iteration API which
returns QDictEntry entries, but we don't want users to directly
access its members since QDictEntry should be private to QDict.
In the near future this kind of data type will be turned into a
forward reference.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qdict.h')
-rw-r--r-- | qdict.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,8 @@ typedef struct QDict { /* Object API */ QDict *qdict_new(void); +const char *qdict_entry_key(const QDictEntry *entry); +QObject *qdict_entry_value(const QDictEntry *entry); size_t qdict_size(const QDict *qdict); void qdict_put_obj(QDict *qdict, const char *key, QObject *value); void qdict_del(QDict *qdict, const char *key); |