Add support for signed 24.8 decimal numbers
authorDaniel Stone <daniel@fooishbar.org>
Tue, 8 May 2012 16:17:25 +0000 (17:17 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 8 May 2012 18:40:39 +0000 (14:40 -0400)
commitc5aba11accad178a81a373bd5d1de888b2a51101
tree3fe6a1cdc49ddfa1fa48341d64265ef8210b0557
parentc49f632dae67ee3055e4874f028f723663486da6
Add support for signed 24.8 decimal numbers

'fixed' is a signed decimal type which offers a sign bit, 23 bits of
integer precision, and 8 bits of decimal precision.  This is exposed as
an opaque struct with conversion helpers to and from double and int on
the C API side.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/Makefile.am
src/connection.c
src/scanner.c
src/wayland-server.h
src/wayland-util.h
tests/connection-test.c