use gcc malloc attribute for low level allocation functions, prevents gcc from checki...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 5 Aug 2013 20:57:13 +0000 (20:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 5 Aug 2013 20:57:13 +0000 (20:57 +0000)
commitce2e2b141e67e5be8cc85bc394dc6ca9e15f774b
tree50508e0df59ab92fce66648e354a337d5de20fce
parentb438c2840cbf533830ecb29b1ef65325d3f77f73
use gcc malloc attribute for low level allocation functions, prevents gcc from checking if resulting pointers alias existing pointers, also use sentinel attribute for uiButGetStrInfo so incorrect usage gives a warning.
intern/guardedalloc/MEM_guardedalloc.h
source/blender/blenlib/BLI_memarena.h
source/blender/blenlib/BLI_mempool.h
source/blender/blenlib/BLI_string.h
source/blender/editors/include/UI_interface.h