Add zalloc(size_t) allocator function
Same as calloc(1, len).
This commit is contained in:
committed by
Kristian Høgsberg
parent
214e9ce6ff
commit
b1bc4a68b0
@@ -46,6 +46,7 @@ weston_SOURCES = \
|
||||
pixman-renderer.h \
|
||||
../shared/matrix.c \
|
||||
../shared/matrix.h \
|
||||
../shared/zalloc.h \
|
||||
weston-launch.h \
|
||||
weston-egl-ext.h
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ extern "C" {
|
||||
#include "version.h"
|
||||
#include "matrix.h"
|
||||
#include "config-parser.h"
|
||||
#include "zalloc.h"
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(x,y) (((x) < (y)) ? (x) : (y))
|
||||
|
||||
Reference in New Issue
Block a user