NSAllocateObject

Function NSAllocateObject 

Source
pub unsafe extern "C-unwind" fn NSAllocateObject(
    a_class: &AnyClass,
    extra_bytes: NSUInteger,
    zone: *mut NSZone,
) -> Retained<AnyObject>
Available on crate features NSObject and NSZone only.
Expand description

********* Object Allocation / Deallocation ******

ยงSafety

  • a_class probably has further requirements.
  • zone must be a valid pointer or null.