state: use darray for filters
authorRan Benita <ran234@gmail.com>
Wed, 6 Jun 2012 07:38:45 +0000 (10:38 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 9 Jun 2012 10:21:21 +0000 (13:21 +0300)
commit955ed8c4693b00845b24396aa21ba16c290bc87b
treeefffa48419586ecc4046fa251cebf12faefdeed6
parenta1f8440d700c7a0b10494d0183fb92b66bda54e3
state: use darray for filters

For the darray we need to specify the explicit struct xkb_filter type
instead of void*, so we move the definition of struct xkb_state into
state.c thus making it opaque even from the rest of the files. It has
enough getters to get going and is otherwise good style.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/map.c
src/state.c
src/xkb-priv.h
test/state.c