Hint 0.1.0
Loading...
Searching...
No Matches
Macros
Performance Constraints

Macros

#define hint_allocating
 Declares a function potentially allocates heap memory. Prevents inference of nonallocating.
 
#define hint_blocking
 Declares a function potentially blocks. Prevents inference of hint_nonblocking.
 
#define hint_nonblocking
 Declares a function does not block.
 
#define hint_noblock(__x)
 a bool parameterized version of hint_nonblocking
 
#define hint_nonallocating
 Declares a function does not allocate heap memory.
 
#define hint_noalloc(__x)
 a bool parameterized version of hint_nonallocating
 

Detailed Description

Note

hint_noalloc(x) and hint_noblock(x) are necessitated by the inability to write a macro that merely may take an argument.

Macro Definition Documentation

◆ hint_noalloc

#define hint_noalloc (   __x)

a bool parameterized version of hint_nonallocating

◆ hint_noblock

#define hint_noblock (   __x)

a bool parameterized version of hint_nonblocking