Add support for flags in the wl_map API and add a WL_MAP_ENTRY_LEGACY flag
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 1 Jun 2013 22:40:53 +0000 (17:40 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Jun 2013 04:55:17 +0000 (00:55 -0400)
commit2c7468b868acc334b483fa2617f31bbfb13a3412
treea0aa8ef9c39deeda7a3beb02c27e47450d6e29d4
parent28472970df58c69565dbbee2074c434041f9ece4
Add support for flags in the wl_map API and add a WL_MAP_ENTRY_LEGACY flag

The implementation in this commit allows for one bit worth of flags.  If
more flags are desired at a future date, then the wl_map implementation
will have to change but the wl_map API will not.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/wayland-client.c
src/wayland-private.h
src/wayland-server.c
src/wayland-util.c