Moved helper macro to a discrete include file.
authorJon Cruz <jonc@osg.samsung.com>
Mon, 15 Jun 2015 22:37:08 +0000 (15:37 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Tue, 16 Jun 2015 00:11:45 +0000 (17:11 -0700)
commit35b2eaa989e4960501943c0753e2d5a3e687db92
treed8f0f0b2304e22d18f1aae4496c8bb803188f438
parent4678bab13ce29b02363abfa40fd78cf94e107e8b
Moved helper macro to a discrete include file.

To help reduce code duplication and also 'kitchen-sink' includes
the ARRAY_LENGTH macro was moved to a stand-alone file and
referenced from the sources consuming it. Other macros will be
added in subsequent passes.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
37 files changed:
Makefile.am
clients/calibrator.c
clients/dnd.c
clients/editor.c
clients/eventdemo.c
clients/ivi-shell-user-interface.c
clients/nested.c
clients/presentation-shm.c
clients/simple-touch.c
clients/stacking.c
clients/subsurfaces.c
clients/terminal.c
clients/weston-info.c
clients/window.c
clients/window.h
clients/wscreensaver.c
ivi-shell/ivi-shell.c
shared/cairo-util.c
shared/helpers.h [new file with mode: 0644]
shared/image-loader.c
src/compositor-drm.c
src/compositor-fbdev.c
src/compositor-headless.c
src/compositor-rdp.c
src/compositor-rpi.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h
src/gl-renderer.c
src/input.c
tests/ivi_layout-test.c
tests/presentation-test.c
tests/vertex-clip-test.c
tests/weston-test-runner.h
xwayland/selection.c
xwayland/window-manager.c