Hash :
e76d7f2c
Author :
Date :
2012-11-20T22:25:07
xalloc: better 'inline' * lib/xmalloc.c, lib/xalloc.h (XALLOC_INLINE): New macro. Replace all uses of 'static inline' with it. (static_inline): Remove. * lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc, xcharalloc): Let 'extern inline' do the work automatically, instead of doing it by hand. * m4/xalloc.m4 (gl_PREREQ_XALLOC, gl_PREREQ_XMALLOC): Remove. All uses removed. * modules/xalloc (Depends-on): Remove 'inline'. Add 'extern-inline'.
Description:
Memory allocation with out-of-memory checking. Also see xalloc-die.
Files:
lib/xalloc.h
lib/xmalloc.c
m4/xalloc.m4
Depends-on:
extern-inline
xalloc-die
xalloc-oversized
configure.ac:
gl_XALLOC
Makefile.am:
lib_SOURCES += xmalloc.c
Include:
"xalloc.h"
License:
GPL
Maintainer:
all