FFmpeg
4.0
|
Function attributes applicable to memory handling functions. More...
Macros | |
#define | av_malloc_attrib __attribute__((__malloc__)) |
Function attribute denoting a malloc-like function. More... | |
#define | av_alloc_size(...) __attribute__((alloc_size(__VA_ARGS__))) |
Function attribute used on a function that allocates memory, whose size is given by the specified parameter(s). More... | |
Function attributes applicable to memory handling functions.
These function attributes can help compilers emit more useful warnings, or generate better code.
#define av_malloc_attrib __attribute__((__malloc__)) |
Function attribute denoting a malloc-like function.
#define av_alloc_size | ( | ... | ) | __attribute__((alloc_size(__VA_ARGS__))) |
Function attribute used on a function that allocates memory, whose size is given by the specified parameter(s).
... | One or two parameter indexes, separated by a comma |