Contextualize the atom table
authorRan Benita <ran234@gmail.com>
Wed, 9 May 2012 11:02:26 +0000 (14:02 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 9 May 2012 14:56:25 +0000 (15:56 +0100)
commit699a0b841c26020815cf276980ad5ccaded7494a
tree6cb566f798f04345086ec2ab48848c2847f3c0fa
parentcdd2906de3db99f63c9dba0de27d8299198d2517
Contextualize the atom table

Each context gets its own table, i.e. interning a string in one context
does not affect any other context.

The existing xkb_atom_* functions are turned into wrappers around a new
standalone atom_table object.

Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: Updated for xkb -> keymap.]
src/atom.c
src/atom.h
src/context.c
src/xkb-priv.h
src/xkbcomp/xkbcomp.c
src/xkbcomp/xkbcomp.h