Struct block_sys::Block_byref_header
source · #[repr(C)]pub struct Block_byref_header {
pub isa: *const Class,
pub forwarding: *mut Block_byref_header,
pub flags: block_flags,
pub size: u32,
}Expand description
Structure used for on-stack variables that are referenced by blocks.
Fields§
§isa: *const ClassClass pointer. Currently unused on GNUStep and always NULL. Could be used in the future to support introspection.
forwarding: *mut Block_byref_headerThe pointer to the structure that contains the real version of the data. All accesses go via this pointer. If an on-stack byref structure is copied to the heap, then its forwarding pointer should point to the heap version. Otherwise it should point to itself.
flags: block_flagsFlags and reference count.
TODO: Volatile!
size: u32Available on crate feature
apple only.Size of this structure.