Mercurial > hg > octave-kai > gnulib-hg
view modules/xalloc @ 14643:b3b2f9e830e9
xalloc-oversized: new module
Due to inline functions, mere inclusion of xalloc.h can result
in a link dependency on xalloc_die() on some platforms. However,
there are several modules that want to use just xalloc_oversized
in order to short-circuit the potential to call xalloc_die.
Splitting the macro into a new header and module makes this easy.
* modules/xalloc-oversized: New module.
* modules/xalloc (Depends-on): Add it.
* lib/xalloc.h (xalloc_oversized): Move...
* lib/xalloc-oversized.h: ...into new file.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 27 Apr 2011 15:54:30 -0600 |
parents | a955e5f25317 |
children | c799149bb7da |
line wrap: on
line source
Description: Memory allocation with out-of-memory checking. Also see xalloc-die. Files: lib/xalloc.h lib/xmalloc.c m4/xalloc.m4 Depends-on: inline xalloc-die xalloc-oversized configure.ac: gl_XALLOC Makefile.am: Include: "xalloc.h" License: GPL Maintainer: all