summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-01-02 13:31:46 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-02 15:08:19 +0100
commit16696ce49373d3ea2b4d12e28b85ca3275f73b82 (patch)
tree0db18bda1aade4adc4bb5fbaada6d4a6ea3149fa /src/widgets
parentfb7404e569b5c69dd9e1c6eab3157826442872e8 (diff)
corelib: Introduce Q_ALLOC_SIZE and use it on qMalloc and friends
GCC 4.3 introduced the alloc_size attribute to hint the compiler that allocated memory will be returned, inform the compiler which parameter holds the size of the allocation. Change-Id: I8734868f6bd19e201abdacd0a1b0fb80a27883c0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions