Revision df10ce6a

b/qdict.c
216 216
}
217 217

  
218 218
/**
219
 * qdict_get_qdict(): Get the QDict mapped by 'key'
220
 *
221
 * This function assumes that 'key' exists and it stores a
222
 * QDict object.
223
 *
224
 * Return QDict mapped by 'key'.
225
 */
226
QDict *qdict_get_qdict(const QDict *qdict, const char *key)
227
{
228
    return qobject_to_qdict(qdict_get_obj(qdict, key, QTYPE_QDICT));
229
}
230

  
231
/**
219 232
 * qdict_get_str(): Get a pointer to the stored string mapped
220 233
 * by 'key'
221 234
 *
b/qdict.h
40 40
int64_t qdict_get_int(const QDict *qdict, const char *key);
41 41
int qdict_get_bool(const QDict *qdict, const char *key);
42 42
QList *qdict_get_qlist(const QDict *qdict, const char *key);
43
QDict *qdict_get_qdict(const QDict *qdict, const char *key);
43 44
const char *qdict_get_str(const QDict *qdict, const char *key);
44 45
int64_t qdict_get_try_int(const QDict *qdict, const char *key,
45 46
                          int64_t err_value);

Also available in: Unified diff