Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 88cc71c0 in mainline for kernel/generic/src/adt/odict.c


Ignore:
Timestamp:
2018-11-06T09:39:24Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
d9d0088
Parents:
4a8d0dd1
git-author:
Jiri Svoboda <jiri@…> (2018-10-05 18:38:50)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-06 09:39:24)
Message:

Replace as_area_btree with ordered dictionary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/odict.c

    r4a8d0dd1 r88cc71c0  
    204204        odict->getkey = getkey;
    205205        odict->cmp = cmp;
     206}
     207
     208/** Finalize ordered dictionary.
     209 *
     210 * @param odict Ordered dictionary (must be empty)
     211 */
     212void odict_finalize(odict_t *odict)
     213{
     214        assert(odict->root == NULL);
    206215}
    207216
Note: See TracChangeset for help on using the changeset viewer.