diff options
| author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2012-01-02 13:31:46 +0100 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-02 15:08:19 +0100 |
| commit | 16696ce49373d3ea2b4d12e28b85ca3275f73b82 (patch) | |
| tree | 0db18bda1aade4adc4bb5fbaada6d4a6ea3149fa /doc/src/snippets/code/doc_src_qpair.cpp | |
| parent | fb7404e569b5c69dd9e1c6eab3157826442872e8 (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 'doc/src/snippets/code/doc_src_qpair.cpp')
0 files changed, 0 insertions, 0 deletions
