native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
Memory Allocation
Collaboration diagram for Memory Allocation:

Macros

#define native_malloc
 [[malloc]]
#define native_alloc_align(__N)
 [[alloc_align(N)]]
#define native_alloc_size(__N)
 [[alloc_size(x)]]

Detailed Description

Macro Definition Documentation

◆ native_alloc_align

#define native_alloc_align ( __N)

[[alloc_align(N)]]

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

See native_malloc.

Definition at line 1032 of file attributes.h.

◆ native_alloc_size

#define native_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 1046 of file attributes.h.

◆ native_malloc

#define native_malloc

[[malloc]]

Indicates the returned memory does not alias with any other pointer

Definition at line 1014 of file attributes.h.