aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-05-22 09:40:35 -0700
committerPaul Eggert2014-05-22 09:40:35 -0700
commit74fde0f44f68a14d920db4d24626984e2964368d (patch)
treece487b5a0080a9a9abbef810f93bb19069defe95 /src/ChangeLog
parentbbd03f131a88ab1ff993bb6bba1bea93e7ee17ea (diff)
downloademacs-74fde0f44f68a14d920db4d24626984e2964368d.tar.gz
emacs-74fde0f44f68a14d920db4d24626984e2964368d.zip
Supply malloc and alloc_size attributes for extern allocators.
This documents the C API, and helps GCC generate a bit better code. * conf_post.h (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE) (ATTRIBUTE_MALLOC_SIZE): New macros. * gmalloc.c (malloc, realloc, calloc): * gtkutil.h (malloc_widget_value): * lisp.h (ralloc, r_re_alloc, xmalloc, xzalloc, xrealloc, xnmalloc) (xnrealloc, xstrdup, xlispstrdup, record_xmalloc): Use them.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 29039395374..5c3486d131a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12014-05-22 Paul Eggert <eggert@cs.ucla.edu>
2
3 Supply malloc and alloc_size attributes for extern allocators.
4 This documents the C API, and helps GCC generate a bit better code.
5 * conf_post.h (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE)
6 (ATTRIBUTE_MALLOC_SIZE): New macros.
7 * gmalloc.c (malloc, realloc, calloc):
8 * gtkutil.h (malloc_widget_value):
9 * lisp.h (ralloc, r_re_alloc, xmalloc, xzalloc, xrealloc, xnmalloc)
10 (xnrealloc, xstrdup, xlispstrdup, record_xmalloc):
11 Use them.
12
12014-05-21 Paul Eggert <eggert@cs.ucla.edu> 132014-05-21 Paul Eggert <eggert@cs.ucla.edu>
2 14
3 Don't assume that ImageMagick uses a 16-bit quantum (Bug#17519). 15 Don't assume that ImageMagick uses a 16-bit quantum (Bug#17519).