Pointer
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
Fields of this type
Fields
- is_const:bool
- is_volatile:bool
- alignment:comptime_int
- TODO make this u16 instead of comptime_int
- child:type
- is_allowzero:bool
- sentinel_ptr:?*const anyopaque
- The type of the sentinel is the element type of the pointer, which is
This data structure is used by the Zig language code generation and
Types
- Size
- This data structure is used by the Zig language code generation and
Loads the pointer type's sentinel value from `sentinel_ptr`.
Functions
- sentinel
- Loads the pointer type's sentinel value from `sentinel_ptr`.