CFBagGetCountOfValue(_:_:)
Returns the number of times a value occurs in a bag.
Declaration
func CFBagGetCountOfValue(_ theBag: CFBag!, _ value: UnsafeRawPointer!) -> CFIndexParameters
- theBag:
The bag to examine.
- value:
The value for which to find matches in
theBag. The equal callback provided whentheBagwas created is used to compare. If the equal callback wasNULL, pointer equality (in C, ==) is used. Ifvalue, or any other value intheBag, is not understood by the equal callback, the behavior is undefined.
Return Value
The number of times value occurs in theBag.