NSCreateMapTableWithZone

Function NSCreateMapTableWithZone 

Source
pub unsafe extern "C-unwind" fn NSCreateMapTableWithZone(
    key_call_backs: NSMapTableKeyCallBacks,
    value_call_backs: NSMapTableValueCallBacks,
    capacity: NSUInteger,
    zone: *mut NSZone,
) -> Retained<NSMapTable>
Available on crate features NSMapTable and NSString and NSZone only.
Expand description

ยงSafety

  • key_call_backs struct field 1 must be implemented correctly.
  • key_call_backs struct field 2 must be implemented correctly.
  • key_call_backs struct field 3 must be implemented correctly.
  • key_call_backs struct field 4 must be implemented correctly.
  • key_call_backs struct field 5 must be implemented correctly.
  • key_call_backs struct field 6 must be a valid pointer or null.
  • value_call_backs struct field 1 must be implemented correctly.
  • value_call_backs struct field 2 must be implemented correctly.
  • value_call_backs struct field 3 must be implemented correctly.
  • zone must be a valid pointer or null.