NSHashInsert(_:_:)
Adds an element to the specified hash table.
Declaration
func NSHashInsert(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?)Discussion
Inserts pointer, which must not be NULL, into table. If pointer matches an item already in the table, the previous pointer is released using the release callback function that was specified when the table was created.
See Also
Related Documentation
Functions
NSAllHashTableObjects(_:)NSCompareHashTables(_:_:)NSCopyHashTableWithZone(_:_:)NSCountHashTable(_:)NSCreateHashTable(_:_:)NSCreateHashTableWithZone(_:_:_:)NSEndHashTableEnumeration(_:)NSEnumerateHashTable(_:)NSFreeHashTable(_:)NSHashGet(_:_:)NSHashInsertIfAbsent(_:_:)NSHashInsertKnownAbsent(_:_:)NSHashRemove(_:_:)NSNextHashEnumeratorItem(_:)NSResetHashTable(_:)