weston/shared
Bryce Harrington ae5d7198f7 shared: Print .c file/line number in x* routines
Switches from inline to pre-processor definitions in order to utilize
__FILE__ and __LINE__ from the .c file in order to display the location
of memory allocation failures when failing.

Now xmalloc, et al calls will produce:

    [weston-info] clients/weston-info.c:714: out of memory (1024)

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-03-17 14:17:02 +02:00
..
cairo-util.c
cairo-util.h
config-parser.c
config-parser.h
file-util.c
file-util.h
frame.c
helpers.h
image-loader.c
image-loader.h
matrix.c
matrix.h
option-parser.c
os-compatibility.c
os-compatibility.h
platform.h
timespec-util.h
xalloc.c
xalloc.h shared: Print .c file/line number in x* routines 2016-03-17 14:17:02 +02:00
zalloc.h