wayland-util: add method for reserving new object id
authorMathias Fiedler <mathias.fiedler@xse.de>
Wed, 18 Jul 2012 13:52:51 +0000 (15:52 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 22 Jul 2012 18:09:48 +0000 (14:09 -0400)
commitbfcd6819303b0304ba38d57af4856eb6db286907
tree57323623e7ac0678c73da82dd6e9a7b0e14cd5a8
parent900e4b63ef185767a4f1f1eea0ea1fb9899b4da5
wayland-util: add method for reserving new object id

wl_map_reserve_new() ensures that new id is valid and will point to an
empty array entry.
src/wayland-private.h
src/wayland-util.c