Attribute System_Allocator_Alignment (GNAT Reference Manual) (original) (raw)

Next: Attribute Target_Name, Previous: Attribute Stub_Type, Up: Implementation Defined Attributes [Contents][Index]


4.62 Attribute System_Allocator_Alignment

Standard'System_Allocator_Alignment (Standard is the only allowed prefix) provides the observable guaranteed to be honored by the system allocator (malloc). This is a static value that can be used in user storage pools based on malloc either to reject allocation with alignment too large or to enable a realignment circuitry if the alignment request is larger than this value.