[PATCH wayland] Clean up the internals of wl_map

2013-05-29 Thread Jason Ekstrand
This commit cleans up the internals of wl_map by splitting it into two wl_simple_maps. This both makes the internals cleaner and also fixes potential issues with having a single free_list for both sides of the map. Signed-off-by: Jason Ekstrand ja...@jlekstrand.net --- src/wayland-private.h |

[PATCH wayland] Clean up the internals of wl_map

2013-05-29 Thread Jason Ekstrand
This commit cleans up the internals of wl_map by splitting it into two wl_simple_maps. This both makes the internals cleaner and also fixes potential issues with having a single free_list for both sides of the map. Signed-off-by: Jason Ekstrand ja...@jlekstrand.net --- Ignore the previous patch