Revision 72cf2d4f check-qdict.c
b/check-qdict.c | ||
---|---|---|
47 | 47 |
qdict_put_obj(qdict, "", QOBJECT(qint_from_int(num))); |
48 | 48 |
|
49 | 49 |
fail_unless(qdict_size(qdict) == 1); |
50 |
ent = LIST_FIRST(&qdict->table[12345 % QDICT_HASH_SIZE]); |
|
50 |
ent = QLIST_FIRST(&qdict->table[12345 % QDICT_HASH_SIZE]);
|
|
51 | 51 |
qi = qobject_to_qint(ent->value); |
52 | 52 |
fail_unless(qint_get_int(qi) == num); |
53 | 53 |
|
Also available in: Unified diff