symbols: add GroupInfo
authorRan Benita <ran234@gmail.com>
Mon, 10 Sep 2012 10:34:36 +0000 (13:34 +0300)
committerRan Benita <ran234@gmail.com>
Thu, 13 Sep 2012 12:57:10 +0000 (15:57 +0300)
commitdb45d664d37eb39cf0334a833d7afbadc6927a37
treec00237a1ef6a1a7efa30c97f846ffe2d36f64dc5
parenta9fa37396f3dc581ca7a75f0950d298820993c3e
symbols: add GroupInfo

GroupInfo keeps all of the info for a specific group in one struct.
This is the old array-of-structures vs. structure-of-arrays, but in this
case readability wins. It would also help with lifting the
XkbNumKbdGroups limit, because we only have to worry about one array
(instead of 6).

Signed-off-by: Ran Benita <ran234@gmail.com>
src/utils.h
src/xkbcomp/symbols.c