]> Savannah Git Hosting - gnulib.git/commit
list, set, oset, map, omap: Prepare allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 22:00:36 +0000 (00:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 22:00:36 +0000 (00:00 +0200)
commitdaabfceeb13e2a927599ba5cf243d0b94e6687c5
tree22e7921df8f65e0678c451719c76f552a815dba5
parent4c424dc470b6ec000c0a10bb649f07358813f842
list, set, oset, map, omap: Prepare allocation-deallocation checking.

* lib/gl_list.h (gl_list_create_empty, gl_list_nx_create_empty,
gl_list_create, gl_list_nx_create): Add comment that deallocation must
happen through 'gl_list_free'.
* lib/gl_xlist.h (gl_list_create_empty, gl_list_create): Likewise.
* lib/gl_sublist.h (gl_sublist_create, gl_sublist_nx_create): Likewise.
* lib/gl_xsublist.h (gl_sublist_create): Likewise.
* lib/gl_set.h (gl_set_create_empty, gl_set_nx_create_empty): Add
comment that deallocation must happen through 'gl_set_free'.
* lib/gl_xset.h (gl_set_create_empty): Likewise.
* lib/gl_oset.h (gl_oset_create_empty, gl_oset_nx_create_empty): Add
comment that deallocation must happen through 'gl_oset_free'.
* lib/gl_xoset.h (gl_oset_create_empty): Likewise.
* lib/gl_map.h (gl_map_create_empty, gl_map_nx_create_empty): Add
comment that deallocation must happen through 'gl_map_free'.
* lib/gl_xmap.h (gl_map_create_empty): Likewise.
* lib/gl_omap.h (gl_omap_create_empty, gl_omap_nx_create_empty): Add
comment that deallocation must happen through 'gl_omap_free'.
* lib/gl_xomap.h (gl_omap_create_empty): Likewise.
13 files changed:
ChangeLog
lib/gl_list.h
lib/gl_map.h
lib/gl_omap.h
lib/gl_oset.h
lib/gl_set.h
lib/gl_sublist.h
lib/gl_xlist.h
lib/gl_xmap.h
lib/gl_xomap.h
lib/gl_xoset.h
lib/gl_xset.h
lib/gl_xsublist.h