Struct block_sys::Block_byref_header [−][src]
#[repr(C)]pub struct Block_byref_header {
pub isa: *mut c_void,
pub forwarding: *mut Block_byref_header,
pub flags: block_flags,
pub size: i32,
}Expand description
Structure used for on-stack variables that are referenced by blocks.
Fields
isa: *mut c_voidClass 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: i32Size of this structure.
