一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
Memory Allocation
Collaboration diagram for Memory Allocation:

Macros

#define ein_malloc
 [[malloc]]
 
#define ein_alloc_align(__N)
 [[alloc_align(N)]]
 
#define ein_alloc_size(__N)
 [[alloc_size(x)]]
 

Detailed Description

See also
ein_allocating, ein_nonallocating, ein_noalloc

Macro Definition Documentation

◆ ein_alloc_align

#define ein_alloc_align ( __N)

[[alloc_align(N)]]

Indicates the 1-based argument number of a function that indicates the alignment of the returned result

See ein_malloc.

Definition at line 88 of file attributes/memory.hpp.

◆ ein_alloc_size

#define ein_alloc_size ( __N)

[[alloc_size(x)]]

Arg # (1-based) of the attribute that tells you the size of the result in bytes.

Definition at line 102 of file attributes/memory.hpp.

◆ ein_malloc

#define ein_malloc

[[malloc]]

Indicates the returned memory does not alias with any other pointer

Definition at line 70 of file attributes/memory.hpp.